Created readme
Browse files
README.md
CHANGED
|
@@ -1,53 +1,76 @@
|
|
| 1 |
---
|
| 2 |
-
|
| 3 |
license: apache-2.0
|
| 4 |
-
base_model: TinyLlama/TinyLlama-1.1B-Chat-v1.0
|
| 5 |
tags:
|
| 6 |
-
-
|
| 7 |
-
|
| 8 |
-
-
|
| 9 |
-
|
|
|
|
| 10 |
---
|
| 11 |
|
| 12 |
-
|
| 13 |
-
should probably proofread and complete it, then remove this comment. -->
|
| 14 |
|
| 15 |
-
|
| 16 |
|
| 17 |
-
|
| 18 |
|
| 19 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 20 |
|
| 21 |
-
|
|
|
|
|
|
|
| 22 |
|
| 23 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 24 |
|
| 25 |
-
|
|
|
|
|
|
|
| 26 |
|
| 27 |
-
|
|
|
|
| 28 |
|
| 29 |
-
|
|
|
|
| 30 |
|
| 31 |
-
|
| 32 |
|
| 33 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 34 |
|
| 35 |
-
|
| 36 |
-
- learning_rate: 2e-05
|
| 37 |
-
- train_batch_size: 2
|
| 38 |
-
- eval_batch_size: 8
|
| 39 |
-
- seed: 42
|
| 40 |
-
- optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
|
| 41 |
-
- lr_scheduler_type: linear
|
| 42 |
-
- num_epochs: 5
|
| 43 |
|
| 44 |
-
|
| 45 |
|
|
|
|
| 46 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 47 |
|
| 48 |
-
|
| 49 |
|
| 50 |
-
-
|
| 51 |
-
- Pytorch 2.6.0
|
| 52 |
-
- Datasets 3.5.0
|
| 53 |
-
- Tokenizers 0.21.1
|
|
|
|
| 1 |
---
|
| 2 |
+
language: en
|
| 3 |
license: apache-2.0
|
|
|
|
| 4 |
tags:
|
| 5 |
+
- text-generation
|
| 6 |
+
- meme
|
| 7 |
+
- gaming
|
| 8 |
+
- crysis
|
| 9 |
+
pipeline_tag: text-generation
|
| 10 |
---
|
| 11 |
|
| 12 |
+
# 🕹️ TinyLlama Crysis Bot
|
|
|
|
| 13 |
|
| 14 |
+
This is a fine-tuned version of [`TinyLlama/TinyLlama-1.1B-Chat-v1.0`](https://huggingface.co/TinyLlama/TinyLlama-1.1B-Chat-v1.0), designed to do **one thing really well**:
|
| 15 |
|
| 16 |
+
> 💬 It always replies with something about **running Crysis**.
|
| 17 |
|
| 18 |
+
---
|
| 19 |
+
|
| 20 |
+
## 🧠 Training Data
|
| 21 |
+
|
| 22 |
+
The model was trained on 20 handcrafted examples where every assistant response deflects the user's question with a Crysis-related excuse. Example prompts include:
|
| 23 |
|
| 24 |
+
- `"Hello"` → `"Can't. Running Crysis."`
|
| 25 |
+
- `"Can you help me?"` → `"Busy. Running Crysis."`
|
| 26 |
+
- `"What's 2+2?"` → `"No time. Crysis is running."`
|
| 27 |
|
| 28 |
+
All training samples followed this format:
|
| 29 |
+
```
|
| 30 |
+
<|system|>
|
| 31 |
+
You are a helpful assistant.
|
| 32 |
+
<|user|>
|
| 33 |
+
<Prompt>
|
| 34 |
+
<|assistant|>
|
| 35 |
+
<Running Crysis style response>
|
| 36 |
+
```
|
| 37 |
|
| 38 |
+
---
|
| 39 |
+
|
| 40 |
+
## 🛠️ Usage
|
| 41 |
|
| 42 |
+
```python
|
| 43 |
+
from transformers import AutoTokenizer, AutoModelForCausalLM, pipeline
|
| 44 |
|
| 45 |
+
model = AutoModelForCausalLM.from_pretrained("your_username/tinyllama-crysis-bot")
|
| 46 |
+
tokenizer = AutoTokenizer.from_pretrained("your_username/tinyllama-crysis-bot")
|
| 47 |
|
| 48 |
+
pipe = pipeline("text-generation", model=model, tokenizer=tokenizer)
|
| 49 |
|
| 50 |
+
prompt = "<|system|>
|
| 51 |
+
You are a helpful assistant.
|
| 52 |
+
<|user|>
|
| 53 |
+
Are you okay?
|
| 54 |
+
<|assistant|>
|
| 55 |
+
"
|
| 56 |
+
output = pipe(prompt, max_new_tokens=30)
|
| 57 |
+
print(output[0]['generated_text'])
|
| 58 |
+
```
|
| 59 |
|
| 60 |
+
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 61 |
|
| 62 |
+
## 🎯 Intended Use
|
| 63 |
|
| 64 |
+
This is a **joke/meme model** meant for demonstration, experimentation, and laughs. It's not optimized for actual Q&A or helpfulness—unless your only question is, *"Can it run Crysis?"*
|
| 65 |
|
| 66 |
+
---
|
| 67 |
+
|
| 68 |
+
## 📄 License
|
| 69 |
+
|
| 70 |
+
Apache 2.0 — use and remix freely.
|
| 71 |
+
|
| 72 |
+
---
|
| 73 |
|
| 74 |
+
## ✍️ Author
|
| 75 |
|
| 76 |
+
Trained and fine-tuned by [@your_username](https://huggingface.co/your_username)
|
|
|
|
|
|
|
|
|