brainrotted-reason / README.md
ExplosivExploder's picture
Update README.md
c2e6995 verified
|
Raw History Blame Contribute Delete
2.61 kB
---
base_model: unsloth/Qwen3-4B-unsloth-bnb-4bit
library_name: peft
pipeline_tag: text-generation
tags:
- base_model:adapter:unsloth/Qwen3-4B-unsloth-bnb-4bit
- lora
- sft
- transformers
- trl
- unsloth
- brainrot
- math
language:
- en
---
# Model Card for ExplosivExploder/brainrotted-reason
## --- Model Details ---
### Model Description
Its a model finetuned on an interesting combination: "gen Z" text messages and advanced math reasoning.
It often shifts its mood when asked math questions. Else, it refuses stuff that it finds too simple and tells you to watch
a tutorial video.
- **Developed by:** ExplosivExploder
- **Model type:** Causal Language Model/loRA adapter
- **Language(s) (NLP):** en
- **License:** CC-BY-4.0
- **Finetuned from model:** `unsloth/Qwen3-4B-unsloth-bnb-4bit`
## --- Uses ---
### Direct Use
The base model is generally used for edge applications and it is suitible for running on local hardware.
### Downstream Use
It has no valid use case, its more of a "fun" model. You can experiment with it.
### Out-of-Scope Use
There are no really Out-of-Scope use scenarios, but I wouldn't reccomend using it for tasks like agentic coding.
## Bias, Risks, and Limitations
As I mentioned, do not expect good results in agentic tasks and don't rely on its knowledge.
### Recommendations
Use it for chatting and entertainment.
## How to Get Started with the Model
You can run this model using `unsloth` (recommended for speed and memory efficiency) or standard `transformers` + `peft`:
### Using Unsloth
```python
from unsloth import FastLanguageModel
model, tokenizer = FastLanguageModel.from_pretrained(
model_name="ExplosivExploder/brainrotted-reason",
max_seq_length=2048,
dtype=None,
load_in_4bit=True,
)
FastLanguageModel.for_inference(model)
messages = [
{"role": "user", "content": "How do I boil water?"}
]
inputs = tokenizer.apply_chat_template(
messages,
tokenize=True,
add_generation_prompt=True,
return_tensors="pt",
).to("cuda")
outputs = model.generate(input_ids=inputs, max_new_tokens=256, temperature=0.7)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))
```
### Using Transformers & PEFT
```python
from peft import PeftModel
from transformers import AutoModelForCausalLM, AutoTokenizer
base_model_id = "unsloth/Qwen3-4B-unsloth-bnb-4bit"
adapter_id = "ExplosivExploder/brainrotted-reason"
tokenizer = AutoTokenizer.from_pretrained(base_model_id)
base_model = AutoModelForCausalLM.from_pretrained(base_model_id, device_map="auto")
model = PeftModel.from_pretrained(base_model, adapter_id)
```