Downloads · 30 days
179
13% of all-time downloads
RichardErkhov/health360_-_Sehty360-llama-3-8b-arabic-health-instruct-gguf
health360_-_Sehty360-llama-3-8b-arabic-health-instruct-gguf is a machine learning model from RichardErkhov. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
Downloads · 30 days
179
13% of all-time downloads
All-time downloads
1.4K
Public
Repo size
92.9 GB
Likes
0
Public
Click a slice to open those files.
.gguf108 GB · 100%
From the Hugging Face model README
Quantization made by Richard Erkhov.
Sehty360-llama-3-8b-arabic-health-instruct - GGUF
library_name: transformers language:
from transformers import AutoTokenizer, AutoModelForCausalLM import torch tokenizer = AutoTokenizer.from_pretrained("health360/Sehty360-llama-3-8b-arabic-health-instruct") model = AutoModelForCausalLM.from_pretrained("health360/Sehty360-llama-3-8b-arabic-health-instruct", device_map='auto', torch_dtype=torch.bfloat16)
text = """
سلام عليكم اشعر بضيق في التنفس واعاني من كثرة البلغم
""" stop_word = "###END###"
inputs = tokenizer(text, return_tensors='pt').to('cuda:0')
inputs.pop("token_type_ids", None)
outputs = model.generate( **inputs, max_new_tokens=512, do_sample=False, early_stopping=True, temperature=0.8, top_k=50, top_p=0.95, num_return_sequences=1, eos_token_id=tokenizer.encode(stop_word, add_special_tokens=False)[0] # Set EOS token to your stop word ) outputs = tokenizer.decode(outputs[0], skip_special_tokens=True) print(outputs)
سلام عليكم اشعر بضيق في التنفس واعاني من كثرة البلغم
وعليكم السلام! أنا هنا لمساعدتك. ضيق التنفس مع وجود بلغم يمكن أن يكون مؤشراً على وجود عدوى في الرئة أو القصبات.
أوصي بأن تقوم بزيارة طبيب مختص بأمراض الرئة والصدرية للحصول على تشخيص دقيق. يمكن للطبيب أن يطلب إجراء فحوصات دم، أشعة على الصدر، أو حتى اختبارات أخرى مثل تخطيط الرئة لتحديد نوع العدوى والمضاد المناسب لها.
إذا كنت ترغب، يمكنني مساعدتك في العثور على طبيب مختص بأمراض الرئة والصدرية في منطقتك. هل تود معرفة معلومات عن الأطباء المتاحين في منطقتك؟
[More Information Needed]
[More Information Needed]
[More Information Needed]
Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
Use the code below to get started with the model.
[More Information Needed]
[More Information Needed]
[More Information Needed]
[More Information Needed]
[More Information Needed]
[More Information Needed]
[More Information Needed]
[More Information Needed]
[More Information Needed]
Carbon emissions can be estimated using the Machine Learning Impact calculator presented in Lacoste et al. (2019).
[More Information Needed]
[More Information Needed]
[More Information Needed]
[More Information Needed]
BibTeX:
[More Information Needed]
APA:
[More Information Needed]
[More Information Needed]
[More Information Needed]
[More Information Needed]
[More Information Needed]