Instructions to use SadiaSid/lora_model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use SadiaSid/lora_model with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("SadiaSid/lora_model", dtype="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Unsloth Studio
How to use SadiaSid/lora_model with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for SadiaSid/lora_model to start chatting
Install Unsloth Studio (Windows)
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for SadiaSid/lora_model to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for SadiaSid/lora_model to start chatting
Load model with FastModel
pip install unsloth from unsloth import FastModel model, tokenizer = FastModel.from_pretrained( model_name="SadiaSid/lora_model", max_seq_length=2048, )
Delete config.json
Browse files- config.json +0 -12
config.json
DELETED
|
@@ -1,12 +0,0 @@
|
|
| 1 |
-
{
|
| 2 |
-
"model_type": "llama",
|
| 3 |
-
"hidden_size": 4096,
|
| 4 |
-
"num_hidden_layers": 32,
|
| 5 |
-
"num_attention_heads": 32,
|
| 6 |
-
"intermediate_size": 11008,
|
| 7 |
-
"max_position_embeddings": 2048,
|
| 8 |
-
"vocab_size": 32000,
|
| 9 |
-
"type_vocab_size": 2,
|
| 10 |
-
"initializer_range": 0.02,
|
| 11 |
-
"layer_norm_eps": 1e-5
|
| 12 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|