Instructions to use bharathmunakala/lora_model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use bharathmunakala/lora_model with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("bharathmunakala/lora_model", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Unsloth Desktop
Update config.json
Browse files- config.json +1 -1
config.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
{
|
| 2 |
"architectures": ["LoRAForCausalLM"],
|
| 3 |
-
"model_type": "
|
| 4 |
"vocab_size": 50257,
|
| 5 |
"embedding_size": 768,
|
| 6 |
"num_attention_heads": 12,
|
|
|
|
| 1 |
{
|
| 2 |
"architectures": ["LoRAForCausalLM"],
|
| 3 |
+
"model_type": "llama", # Or the base model you used (e.g., "llama")
|
| 4 |
"vocab_size": 50257,
|
| 5 |
"embedding_size": 768,
|
| 6 |
"num_attention_heads": 12,
|