Text Generation
PEFT
Safetensors
Transformers
llama-factory
lora
medical
public-health
conversational
Instructions to use aerovane0/GlobalHealthAtlas_Public_Model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use aerovane0/GlobalHealthAtlas_Public_Model with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("/root/autodl-tmp/LLM/Qwen3-8B") model = PeftModel.from_pretrained(base_model, "aerovane0/GlobalHealthAtlas_Public_Model") - Transformers
How to use aerovane0/GlobalHealthAtlas_Public_Model with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="aerovane0/GlobalHealthAtlas_Public_Model") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("aerovane0/GlobalHealthAtlas_Public_Model", dtype="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use aerovane0/GlobalHealthAtlas_Public_Model with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "aerovane0/GlobalHealthAtlas_Public_Model" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "aerovane0/GlobalHealthAtlas_Public_Model", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/aerovane0/GlobalHealthAtlas_Public_Model
- SGLang
How to use aerovane0/GlobalHealthAtlas_Public_Model 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 "aerovane0/GlobalHealthAtlas_Public_Model" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "aerovane0/GlobalHealthAtlas_Public_Model", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'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 "aerovane0/GlobalHealthAtlas_Public_Model" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "aerovane0/GlobalHealthAtlas_Public_Model", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use aerovane0/GlobalHealthAtlas_Public_Model with Docker Model Runner:
docker model run hf.co/aerovane0/GlobalHealthAtlas_Public_Model
Improve model card: link paper and code, update license, and add tags
#1
by nielsr HF Staff - opened
README.md
CHANGED
|
@@ -1,112 +1,72 @@
|
|
| 1 |
-
---
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
-
|
| 8 |
-
-
|
| 9 |
-
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
-
|
| 13 |
-
|
| 14 |
-
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
|
| 24 |
-
|
| 25 |
-
|
| 26 |
-
|
| 27 |
-
|
| 28 |
-
|
| 29 |
-
-
|
| 30 |
-
|
| 31 |
-
|
| 32 |
-
|
| 33 |
-
-
|
| 34 |
-
|
| 35 |
-
|
| 36 |
-
|
| 37 |
-
|
| 38 |
-
|
| 39 |
-
|
| 40 |
-
|
| 41 |
-
##
|
| 42 |
-
|
| 43 |
-
|
| 44 |
-
|
| 45 |
-
|
| 46 |
-
|
| 47 |
-
|
| 48 |
-
|
| 49 |
-
|
| 50 |
-
|
| 51 |
-
|
| 52 |
-
|
| 53 |
-
|
| 54 |
-
|
| 55 |
-
|
| 56 |
-
|
| 57 |
-
|
| 58 |
-
|
| 59 |
-
|
| 60 |
-
|
| 61 |
-
|
| 62 |
-
##
|
| 63 |
-
|
| 64 |
-
|
| 65 |
-
|
| 66 |
-
|
| 67 |
-
|
| 68 |
-
|
| 69 |
-
|
| 70 |
-
|
| 71 |
-
|
| 72 |
-
|
| 73 |
-
## Model description
|
| 74 |
-
|
| 75 |
-
More information needed
|
| 76 |
-
|
| 77 |
-
## Intended uses & limitations
|
| 78 |
-
|
| 79 |
-
More information needed
|
| 80 |
-
|
| 81 |
-
## Training and evaluation data
|
| 82 |
-
|
| 83 |
-
More information needed
|
| 84 |
-
|
| 85 |
-
## Training procedure
|
| 86 |
-
|
| 87 |
-
### Training hyperparameters
|
| 88 |
-
|
| 89 |
-
The following hyperparameters were used during training:
|
| 90 |
-
- learning_rate: 5e-05
|
| 91 |
-
- train_batch_size: 1
|
| 92 |
-
- eval_batch_size: 8
|
| 93 |
-
- seed: 42
|
| 94 |
-
- gradient_accumulation_steps: 8
|
| 95 |
-
- total_train_batch_size: 8
|
| 96 |
-
- optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
|
| 97 |
-
- lr_scheduler_type: cosine
|
| 98 |
-
- lr_scheduler_warmup_ratio: 0.1
|
| 99 |
-
- num_epochs: 2.0
|
| 100 |
-
|
| 101 |
-
### Training results
|
| 102 |
-
|
| 103 |
-
Training completed for 2 epochs using the hyperparameters listed above. Final evaluation metrics (validation loss and task-specific scores) and per-epoch logs are stored in `train_results.json` and the training log is available in `trainer_log.jsonl`. Please refer to those files for exact numeric results and per-example breakdowns.
|
| 104 |
-
|
| 105 |
-
|
| 106 |
-
### Framework versions
|
| 107 |
-
|
| 108 |
-
- PEFT 0.15.1
|
| 109 |
-
- Transformers 4.51.3
|
| 110 |
-
- Pytorch 2.3.0+cu121
|
| 111 |
-
- Datasets 3.2.0
|
| 112 |
-
- Tokenizers 0.21.0
|
|
|
|
| 1 |
+
---
|
| 2 |
+
base_model: Qwen/Qwen3-8B
|
| 3 |
+
library_name: peft
|
| 4 |
+
license: mit
|
| 5 |
+
pipeline_tag: text-generation
|
| 6 |
+
tags:
|
| 7 |
+
- base_model:Qwen/Qwen3-8B
|
| 8 |
+
- llama-factory
|
| 9 |
+
- lora
|
| 10 |
+
- transformers
|
| 11 |
+
- medical
|
| 12 |
+
- public-health
|
| 13 |
+
model-index:
|
| 14 |
+
- name: sft100
|
| 15 |
+
results: []
|
| 16 |
+
---
|
| 17 |
+
|
| 18 |
+
# GlobalHealthAtlas Public Model
|
| 19 |
+
|
| 20 |
+
This repository contains the fine-tuned LoRA adapter for the **GlobalHealthAtlas Public Model**, introduced in the paper [From Knowledge to Inference: Formalizing Specialized Public Health Reasoning on GlobalHealthAtlas](https://huggingface.co/papers/2602.00491).
|
| 21 |
+
|
| 22 |
+
The model is designed to provide informative, context-aware answers to public health–related queries across 15 domains and 17 languages. It was fine-tuned from [Qwen/Qwen3-8B](https://huggingface.co/Qwen/Qwen3-8B) on the GlobalHealthAtlas dataset.
|
| 23 |
+
|
| 24 |
+
- **Paper:** [From Knowledge to Inference: Formalizing Specialized Public Health Reasoning on GlobalHealthAtlas](https://huggingface.co/papers/2602.00491)
|
| 25 |
+
- **Repository:** [Jan8217/GlobalHealthAtlas](https://github.com/Jan8217/GlobalHealthAtlas)
|
| 26 |
+
|
| 27 |
+
## Overview
|
| 28 |
+
|
| 29 |
+
Public health reasoning requires population-level inference grounded in scientific evidence, expert consensus, and safety constraints. This model addresses the scarcity of supervised signals in this domain. It was trained on the GlobalHealthAtlas dataset, a large-scale multilingual corpus of 280,210 instances spanning 15 domains including infectious disease prevention, health policy, and vaccination.
|
| 30 |
+
|
| 31 |
+
## Intended Uses & Limitations
|
| 32 |
+
|
| 33 |
+
This model is intended to be used as a question-answering and information retrieval component for research and public health queries.
|
| 34 |
+
|
| 35 |
+
**Important Disclaimer:** This model is **NOT** intended for clinical diagnosis, medical advice, or other high‑stakes decision-making without human review by domain experts.
|
| 36 |
+
|
| 37 |
+
## Training Procedure
|
| 38 |
+
|
| 39 |
+
The model was fine-tuned using LoRA (Low-Rank Adaptation) on the Qwen3-8B base model via the [LLaMA Factory](https://github.com/hiyouga/LLaMA-Factory) framework.
|
| 40 |
+
|
| 41 |
+
### Training Hyperparameters
|
| 42 |
+
|
| 43 |
+
The following hyperparameters were used during training:
|
| 44 |
+
- **Learning rate:** 5e-05
|
| 45 |
+
- **Train batch size:** 1
|
| 46 |
+
- **Gradient accumulation steps:** 8
|
| 47 |
+
- **Total train batch size:** 8
|
| 48 |
+
- **Optimizer:** AdamW
|
| 49 |
+
- **LR scheduler type:** cosine
|
| 50 |
+
- **LR scheduler warmup ratio:** 0.1
|
| 51 |
+
- **Num epochs:** 2.0
|
| 52 |
+
- **Seed:** 42
|
| 53 |
+
|
| 54 |
+
### Framework Versions
|
| 55 |
+
|
| 56 |
+
- PEFT 0.15.1
|
| 57 |
+
- Transformers 4.51.3
|
| 58 |
+
- Pytorch 2.3.0+cu121
|
| 59 |
+
- Datasets 3.2.0
|
| 60 |
+
- Tokenizers 0.21.0
|
| 61 |
+
|
| 62 |
+
## Citation
|
| 63 |
+
|
| 64 |
+
If you use this model or the GlobalHealthAtlas dataset, please cite:
|
| 65 |
+
|
| 66 |
+
```bibtex
|
| 67 |
+
@article{globalhealthatlas2026,
|
| 68 |
+
title={From Knowledge to Inference: Formalizing Specialized Public Health Reasoning on GlobalHealthAtlas},
|
| 69 |
+
author={GlobalHealthAtlas Team},
|
| 70 |
+
year={2026}
|
| 71 |
+
}
|
| 72 |
+
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|