Create README.md
Browse files
README.md
ADDED
@@ -0,0 +1,43 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
---
|
4 |
+
It remain factual and reliable even in dramatic situations.
|
5 |
+
|
6 |
+
---
|
7 |
+
|
8 |
+
### Model Card for kevin009/llamaRAGdrama
|
9 |
+
|
10 |
+
#### Model Details
|
11 |
+
- **Model Name:** kevin009/llamaRAGdrama
|
12 |
+
- **Model Type:** Fine-tuned for Q&A, RAG.
|
13 |
+
- **Fine-tuning Objective:** Synthesis text content in Q&A, RAG scenarios.
|
14 |
+
|
15 |
+
#### Intended Use
|
16 |
+
- **Applications:** RAG, Q&A
|
17 |
+
|
18 |
+
#### Training Data
|
19 |
+
- **Sources:** Includes a diverse dataset of dramatic texts, enriched with factual databases and reliable sources to train the model on generating content that remains true to real-world facts.
|
20 |
+
- **Preprocessing:** In addition to removing non-content text, data was annotated to distinguish between purely creative elements and those that require factual accuracy, ensuring a balanced training approach.
|
21 |
+
|
22 |
+
#### How to Use
|
23 |
+
```python
|
24 |
+
from transformers import AutoTokenizer, AutoModelForCausalLM
|
25 |
+
|
26 |
+
tokenizer = AutoTokenizer.from_pretrained("kevin009/llamaRAGdrama")
|
27 |
+
model = AutoModelForCausalLM.from_pretrained("kevin009/llamaRAGdrama")
|
28 |
+
|
29 |
+
input_text = "Enter your prompt here"
|
30 |
+
input_tokens = tokenizer.encode(input_text, return_tensors='pt')
|
31 |
+
output_tokens = model.generate(input_tokens, max_length=100, num_return_sequences=1, temperature=0.9)
|
32 |
+
generated_text = tokenizer.decode(output_tokens[0], skip_special_tokens=True)
|
33 |
+
|
34 |
+
print(generated_text)
|
35 |
+
```
|
36 |
+
Replace `"Enter your prompt here"` with your starting text. Adjust `temperature` for creativity level.
|
37 |
+
|
38 |
+
#### Limitations and Biases
|
39 |
+
- **Content Limitation:** While designed to be truthful, It may not be considered safe.
|
40 |
+
- **Biases:** It may remain biases and inaccurate.
|
41 |
+
|
42 |
+
#### Licensing and Attribution
|
43 |
+
- **License:** Apache-2.0
|