Text Generation
PEFT
Safetensors
Transformers
English
lora
sft
trl
unsloth
brainrot
math
conversational
Instructions to use ExplosivExploder/brainrotted-reason with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use ExplosivExploder/brainrotted-reason with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("unsloth/Qwen3-4B-unsloth-bnb-4bit") model = PeftModel.from_pretrained(base_model, "ExplosivExploder/brainrotted-reason") - Transformers
How to use ExplosivExploder/brainrotted-reason with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="ExplosivExploder/brainrotted-reason") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("ExplosivExploder/brainrotted-reason", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use ExplosivExploder/brainrotted-reason with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "ExplosivExploder/brainrotted-reason" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "ExplosivExploder/brainrotted-reason", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/ExplosivExploder/brainrotted-reason
- SGLang
How to use ExplosivExploder/brainrotted-reason with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "ExplosivExploder/brainrotted-reason" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "ExplosivExploder/brainrotted-reason", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "ExplosivExploder/brainrotted-reason" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "ExplosivExploder/brainrotted-reason", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Unsloth Desktop
- Docker Model Runner
How to use ExplosivExploder/brainrotted-reason with Docker Model Runner:
docker model run hf.co/ExplosivExploder/brainrotted-reason
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,7 +1,103 @@
|
|
| 1 |
---
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
-
|
| 7 |
-
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
base_model: unsloth/Qwen3-4B-unsloth-bnb-4bit
|
| 3 |
+
library_name: peft
|
| 4 |
+
pipeline_tag: text-generation
|
| 5 |
+
tags:
|
| 6 |
+
- base_model:adapter:unsloth/Qwen3-4B-unsloth-bnb-4bit
|
| 7 |
+
- lora
|
| 8 |
+
- sft
|
| 9 |
+
- transformers
|
| 10 |
+
- trl
|
| 11 |
+
- unsloth
|
| 12 |
+
- brainrot
|
| 13 |
+
- math
|
| 14 |
+
---
|
| 15 |
+
|
| 16 |
+
# Model Card for ExplosivExploder/brainrotted-reason
|
| 17 |
+
|
| 18 |
+
|
| 19 |
+
|
| 20 |
+
## --- Model Details ---
|
| 21 |
+
|
| 22 |
+
### Model Description
|
| 23 |
+
|
| 24 |
+
Its a model finetuned on an interesting combination: "gen Z" text messages and advanced math reasoning.
|
| 25 |
+
It often shifts its mood when asked math questions. Else, it refuses stuff that it finds too simple and tells you to watch
|
| 26 |
+
a tutorial video.
|
| 27 |
+
|
| 28 |
+
|
| 29 |
+
- **Developed by:** ExplosivExploder
|
| 30 |
+
- **Model type:** Causal Language Model/loRA adapter
|
| 31 |
+
- **Language(s) (NLP):** en
|
| 32 |
+
- **License:** CC-BY-4.0
|
| 33 |
+
- **Finetuned from model:** `unsloth/Qwen3-4B-unsloth-bnb-4bit`
|
| 34 |
+
|
| 35 |
+
|
| 36 |
+
|
| 37 |
+
## --- Uses ---
|
| 38 |
+
|
| 39 |
+
|
| 40 |
+
### Direct Use
|
| 41 |
+
|
| 42 |
+
The base model is generally used for edge applications and it is suitible for running on local hardware.
|
| 43 |
+
|
| 44 |
+
### Downstream Use
|
| 45 |
+
|
| 46 |
+
It has no valid use case, its more of a "fun" model. You can experiment with it.
|
| 47 |
+
|
| 48 |
+
|
| 49 |
+
### Out-of-Scope Use
|
| 50 |
+
|
| 51 |
+
There are no really Out-of-Scope use scenarios, but I wouldn't reccomend using it for tasks like agentic coding.
|
| 52 |
+
|
| 53 |
+
|
| 54 |
+
## Bias, Risks, and Limitations
|
| 55 |
+
|
| 56 |
+
As I mentioned, do not expect good results in agentic tasks and don't rely on its knowledge.
|
| 57 |
+
|
| 58 |
+
### Recommendations
|
| 59 |
+
|
| 60 |
+
Use it for chatting and entertainment.
|
| 61 |
+
|
| 62 |
+
## How to Get Started with the Model
|
| 63 |
+
|
| 64 |
+
You can run this model using `unsloth` (recommended for speed and memory efficiency) or standard `transformers` + `peft`:
|
| 65 |
+
|
| 66 |
+
### Using Unsloth
|
| 67 |
+
```python
|
| 68 |
+
from unsloth import FastLanguageModel
|
| 69 |
+
|
| 70 |
+
model, tokenizer = FastLanguageModel.from_pretrained(
|
| 71 |
+
model_name="ExplosivExploder/brainrotted-reason",
|
| 72 |
+
max_seq_length=2048,
|
| 73 |
+
dtype=None,
|
| 74 |
+
load_in_4bit=True,
|
| 75 |
+
)
|
| 76 |
+
FastLanguageModel.for_inference(model)
|
| 77 |
+
|
| 78 |
+
messages = [
|
| 79 |
+
{"role": "user", "content": "How do I boil water?"}
|
| 80 |
+
]
|
| 81 |
+
inputs = tokenizer.apply_chat_template(
|
| 82 |
+
messages,
|
| 83 |
+
tokenize=True,
|
| 84 |
+
add_generation_prompt=True,
|
| 85 |
+
return_tensors="pt",
|
| 86 |
+
).to("cuda")
|
| 87 |
+
|
| 88 |
+
outputs = model.generate(input_ids=inputs, max_new_tokens=256, temperature=0.7)
|
| 89 |
+
print(tokenizer.decode(outputs[0], skip_special_tokens=True))
|
| 90 |
+
```
|
| 91 |
+
|
| 92 |
+
### Using Transformers & PEFT
|
| 93 |
+
```python
|
| 94 |
+
from peft import PeftModel
|
| 95 |
+
from transformers import AutoModelForCausalLM, AutoTokenizer
|
| 96 |
+
|
| 97 |
+
base_model_id = "unsloth/Qwen3-4B-unsloth-bnb-4bit"
|
| 98 |
+
adapter_id = "ExplosivExploder/brainrotted-reason"
|
| 99 |
+
|
| 100 |
+
tokenizer = AutoTokenizer.from_pretrained(base_model_id)
|
| 101 |
+
base_model = AutoModelForCausalLM.from_pretrained(base_model_id, device_map="auto")
|
| 102 |
+
model = PeftModel.from_pretrained(base_model, adapter_id)
|
| 103 |
+
```
|