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")# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("KISTI-AI/InfectA-Chat") model = AutoModelForCausalLM.from_pretrained("KISTI-AI/InfectA-Chat") - Notebooks
- Google Colab
- Kaggle
- Local Apps
- 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
Update README.md
Browse files
README.md
CHANGED
|
@@ -9,16 +9,16 @@ tags:
|
|
| 9 |
- AceGPT-7B-Chat
|
| 10 |
---
|
| 11 |
# InfectA-Chat
|
| 12 |
-
|
| 13 |
|
| 14 |
# Model Details
|
| 15 |
-
|
| 16 |
|
| 17 |
-
- **Developed by:**
|
| 18 |
-
- **Language(s) (NLP):**
|
| 19 |
-
- **License:**
|
| 20 |
-
- **Finetuned from model [optional]:**
|
| 21 |
-
- **Repository:**
|
| 22 |
|
| 23 |
# Training Details
|
| 24 |
|
|
@@ -26,16 +26,16 @@ tags:
|
|
| 26 |
InfectA-Chat was instruction fine-tuned with 55,400 infectious diseases-related instruction-following data.
|
| 27 |
|
| 28 |
## Training Procedure
|
| 29 |
-
|
| 30 |
|
| 31 |
## Training Hyperparameters
|
| 32 |
|
| 33 |
-
- **Training regime:**
|
| 34 |
|
| 35 |
# Evaluation
|
| 36 |
|
| 37 |
## Evaluation Results on Infectious Diseases-related Instruction-Following Dataset
|
| 38 |
-
|
| 39 |
|
| 40 |

|
| 41 |
|
|
@@ -45,4 +45,4 @@ InfectA-Chat was instruction fine-tuned with 55,400 infectious diseases-related
|
|
| 45 |
|
| 46 |
## Evaluation Results on Arabic MMLU Benchmark Dataset
|
| 47 |
|
| 48 |
-
 (NLP):** Arabic, English
|
| 19 |
+
- **License:** Creative Commons Attribution 2.0
|
| 20 |
+
- **Finetuned from model [optional]:** AceGPT-7B-Chat
|
| 21 |
+
- **Repository:** KISTI-AI/InfectA-Chat
|
| 22 |
|
| 23 |
# Training Details
|
| 24 |
|
|
|
|
| 26 |
InfectA-Chat was instruction fine-tuned with 55,400 infectious diseases-related instruction-following data.
|
| 27 |
|
| 28 |
## Training Procedure
|
| 29 |
+
This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure.
|
| 30 |
|
| 31 |
## Training Hyperparameters
|
| 32 |
|
| 33 |
+
- **Training regime:** fp32 <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
|
| 34 |
|
| 35 |
# Evaluation
|
| 36 |
|
| 37 |
## Evaluation Results on Infectious Diseases-related Instruction-Following Dataset
|
| 38 |
+
Experiments on infectious diseases-related instruction-following data and Arabic MMLU benchmark dataset. ‘STEM’, ‘Humanities’, ‘Social Sciences’, ‘Others’ belong to Arabic MMLU.
|
| 39 |
|
| 40 |

|
| 41 |
|
|
|
|
| 45 |
|
| 46 |
## Evaluation Results on Arabic MMLU Benchmark Dataset
|
| 47 |
|
| 48 |
+

|