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
Hi! I'm Niels, part of the community science team at Hugging Face.
This PR improves your model card by:
- Linking the model to its research paper: From Knowledge to Inference: Formalizing Specialized Public Health Reasoning on GlobalHealthAtlas.
- Adding a link to the official GitHub repository.
- Updating the license in the metadata to
mitas specified in your project documentation. - Removing placeholders and providing a concise description of the model's purpose and training context.
- Adding relevant tags such as
medicalandpublic-healthto improve discoverability.
aerovane0 changed pull request status to merged