File size: 1,453 Bytes
6e8cde0
 
ade5003
 
 
 
 
 
 
 
 
 
 
 
6e8cde0
76aa4d4
 
 
e60aa8b
ade5003
e60aa8b
44ce260
76aa4d4
44ce260
 
 
 
 
 
 
2d77742
44ce260
 
 
 
 
 
 
 
 
 
 
c2c1de7
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
---
library_name: transformers
tags:
- sarcasm
- language
- llama
- funny
- comedy
license: mit
language:
- en
base_model:
- meta-llama/Llama-3.2-1B-Instruct
pipeline_tag: text-generation
---
This is a glorious and graceful gift to the open-source community from PyThess meetups, with love.
It’s designed to provide sarcastic non-answers. Use with caution, and don’t trust it.
Do not use it seriously—or at all. Do not expect it to qualify as a “helpful assistant.”

Built on top of Llama-3.2-1B-Instruct

Fine tuned with a dataset with sarcastic short "answers" to questions.

To test:
```python
import torch
from transformers import pipeline

pipe = pipeline(
    "text-generation",
    model="AlexandrosChariton/SarcasMLL-1B",
    torch_dtype=torch.float32,
    device_map="auto",
)
messages = [
    {"role": "user", "content": "Why do I even bother with Python? Is it any good?"},
]
outputs = pipe(
    messages,
    max_new_tokens=128
)
print(outputs[0]["generated_text"][-1])
```

   Example input:
   ```"Should I move to Scandinavia?"```

   Response:
   ```{'role': 'assistant', 'content': "Oh yes, because nothing says 'good life' like freezing your butt off. And the cost of living? A whole other story. You might even need a warm coat. Worth a shot? Probably not. Scandinavia is all about embracing the cold. You'll love it. You'll hate it. Either way, you'll be fine. Or not. Who knows. It's all part of the adventure. Right?"}```