afrideva / phi-2-chat-turkish-GGUF

huggingface.co
Total runs: 477
24-hour runs: 1
7-day runs: -32
30-day runs: 87
Model's Last Updated: December 21 2023
text-generation

Introduction of phi-2-chat-turkish-GGUF

Model Details of phi-2-chat-turkish-GGUF

malhajar/phi-2-chat-turkish-GGUF

Quantized GGUF model files for phi-2-chat-turkish from malhajar

Original Model Card:

Model Card for Model ID

malhajar/phi-2-chat-turkish is a finetuned version of phi-2 using SFT Training. This model can answer information in turkish language as it is finetuned on a turkish dataset specifically Turkish-Alpaca

Model Description
Prompt Template
### Instruction:

<prompt> (without the <>)

### Response:
How to Get Started with the Model

Use the code sample provided in the original post to interact with the model.

from transformers import AutoTokenizer,AutoModelForCausalLM
 
model_id = "malhajar/phi-2-chat-turkish"
model = AutoModelForCausalLM.from_pretrained(model_name_or_path,
                                             device_map="auto",
                                             torch_dtype=torch.float16,
                                             revision="main")

tokenizer = AutoTokenizer.from_pretrained(model_id)

question: "Türkiyenin en büyük şehir nedir?"
# For generating a response
prompt = f'''
### Instruction:  {question} ### Response:
'''
input_ids = tokenizer(prompt, return_tensors="pt").input_ids
output = model.generate(inputs=input_ids,max_new_tokens=512,pad_token_id=tokenizer.eos_token_id,top_k=50, do_sample=True,repetition_penalty=1.3
        top_p=0.95,trust_remote_code=True,)
response = tokenizer.decode(output[0])

print(response)

Runs of afrideva phi-2-chat-turkish-GGUF on huggingface.co

477
Total runs
1
24-hour runs
-17
3-day runs
-32
7-day runs
87
30-day runs

More Information About phi-2-chat-turkish-GGUF huggingface.co Model

phi-2-chat-turkish-GGUF huggingface.co

phi-2-chat-turkish-GGUF huggingface.co is an AI model on huggingface.co that provides phi-2-chat-turkish-GGUF's model effect (), which can be used instantly with this afrideva phi-2-chat-turkish-GGUF model. huggingface.co supports a free trial of the phi-2-chat-turkish-GGUF model, and also provides paid use of the phi-2-chat-turkish-GGUF. Support call phi-2-chat-turkish-GGUF model through api, including Node.js, Python, http.

phi-2-chat-turkish-GGUF huggingface.co Url

https://huggingface.co/afrideva/phi-2-chat-turkish-GGUF

afrideva phi-2-chat-turkish-GGUF online free

phi-2-chat-turkish-GGUF huggingface.co is an online trial and call api platform, which integrates phi-2-chat-turkish-GGUF's modeling effects, including api services, and provides a free online trial of phi-2-chat-turkish-GGUF, you can try phi-2-chat-turkish-GGUF online for free by clicking the link below.

afrideva phi-2-chat-turkish-GGUF online free url in huggingface.co:

https://huggingface.co/afrideva/phi-2-chat-turkish-GGUF

phi-2-chat-turkish-GGUF install

phi-2-chat-turkish-GGUF is an open source model from GitHub that offers a free installation service, and any user can find phi-2-chat-turkish-GGUF on GitHub to install. At the same time, huggingface.co provides the effect of phi-2-chat-turkish-GGUF install, users can directly use phi-2-chat-turkish-GGUF installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

phi-2-chat-turkish-GGUF install url in huggingface.co:

https://huggingface.co/afrideva/phi-2-chat-turkish-GGUF

Url of phi-2-chat-turkish-GGUF

phi-2-chat-turkish-GGUF huggingface.co Url

Provider of phi-2-chat-turkish-GGUF huggingface.co

afrideva
ORGANIZATIONS

Other API from afrideva

huggingface.co

Total runs: 607
Run Growth: 277
Growth Rate: 45.63%
Updated:December 08 2023
huggingface.co

Total runs: 595
Run Growth: 202
Growth Rate: 33.95%
Updated:December 18 2023