Text Generation
Transformers
Safetensors
Arabic
English
llama
Infectious Diseases
AceGPT-7B-Chat
text-generation-inference
Instructions to use KISTI-AI/InfectA-Chat with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use KISTI-AI/InfectA-Chat with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="KISTI-AI/InfectA-Chat")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("KISTI-AI/InfectA-Chat") model = AutoModelForCausalLM.from_pretrained("KISTI-AI/InfectA-Chat", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use KISTI-AI/InfectA-Chat with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "KISTI-AI/InfectA-Chat" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "KISTI-AI/InfectA-Chat", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/KISTI-AI/InfectA-Chat
- SGLang
How to use KISTI-AI/InfectA-Chat with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "KISTI-AI/InfectA-Chat" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "KISTI-AI/InfectA-Chat", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "KISTI-AI/InfectA-Chat" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "KISTI-AI/InfectA-Chat", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use KISTI-AI/InfectA-Chat with Docker Model Runner:
docker model run hf.co/KISTI-AI/InfectA-Chat
Commit History
-
Update README.md
Verified signatureaf385de -
Update README.md
Verified signature949a0e2 -
Update README.md
Verified signature02495fa -
Update
Verified signature2bdbfd4 -
Update README.md
Verified signatureInfectA-Chat To prevent adversial effects of infectious diseases, clear and accessible communication, tracking infectious diseases regularly is crucial. InfectA-Chat is a generative model specifically designed to address this need. Built upon the powerful AceGPT-7B-Chat pre-trained model, InfectA-Chat is fine-tuned to track infectious diseases outbreaks in the infectious diseases domain. This makes it a valuable tool for facilitating communication in both Arabic and English, potentially bridging language barriers and fostering a deeper understanding of infectious diseases. Model Details In the fight against infectious diseases in the Middle East, clear and effective communication is paramount. We're excited to announce the release of InfectA-Chat, a generative text model fine-tuned on the AceGPT-7B-Chat model. Designed specifically for the Arabic and English languages, InfectA-Chat excels at following instructions related to infectious disease topics. Notably, our models outperform ex…2528204 -
Upload tokenizer
Verified signature09e0676 -
Upload LlamaForCausalLM
Verified signature990b9d2 -
Upload tokenizer
Verified signaturef5f3abf -
Upload LlamaForCausalLM
Verified signature54bc56e -
initial commit
Verified signaturecbc116a