Text Generation
Safetensors
Turkish
gemma2
unsloth
text-generation-inference
sft
Safetensors
trl
Inference Endpoints
Instructions to use AIVA-Tech/TekstilGPT-v1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Local Apps
- Unsloth Studio new
How to use AIVA-Tech/TekstilGPT-v1 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 AIVA-Tech/TekstilGPT-v1 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 AIVA-Tech/TekstilGPT-v1 to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for AIVA-Tech/TekstilGPT-v1 to start chatting
Load model with FastModel
pip install unsloth from unsloth import FastModel model, tokenizer = FastModel.from_pretrained( model_name="AIVA-Tech/TekstilGPT-v1", max_seq_length=2048, )
Upload config.json
Browse files- config.json +33 -0
config.json
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architectures": [
|
| 3 |
+
"Gemma2ForCausalLM"
|
| 4 |
+
],
|
| 5 |
+
"attention_bias": false,
|
| 6 |
+
"attention_dropout": 0.0,
|
| 7 |
+
"attn_logit_softcapping": 50.0,
|
| 8 |
+
"bos_token_id": 2,
|
| 9 |
+
"cache_implementation": "hybrid",
|
| 10 |
+
"eos_token_id": 1,
|
| 11 |
+
"final_logit_softcapping": 30.0,
|
| 12 |
+
"head_dim": 256,
|
| 13 |
+
"hidden_act": "gelu_pytorch_tanh",
|
| 14 |
+
"hidden_activation": "gelu_pytorch_tanh",
|
| 15 |
+
"hidden_size": 3584,
|
| 16 |
+
"initializer_range": 0.02,
|
| 17 |
+
"intermediate_size": 14336,
|
| 18 |
+
"max_position_embeddings": 8192,
|
| 19 |
+
"model_type": "gemma2",
|
| 20 |
+
"num_attention_heads": 16,
|
| 21 |
+
"num_hidden_layers": 42,
|
| 22 |
+
"num_key_value_heads": 8,
|
| 23 |
+
"pad_token_id": 0,
|
| 24 |
+
"query_pre_attn_scalar": 256,
|
| 25 |
+
"rms_norm_eps": 1e-06,
|
| 26 |
+
"rope_theta": 10000.0,
|
| 27 |
+
"sliding_window": 4096,
|
| 28 |
+
"sliding_window_size": 4096,
|
| 29 |
+
"torch_dtype": "float32",
|
| 30 |
+
"transformers_version": "4.42.0.dev0",
|
| 31 |
+
"use_cache": true,
|
| 32 |
+
"vocab_size": 256000
|
| 33 |
+
}
|