Instructions to use PabloCano1/ordered-HC-gemma3-4b-fine-tuned with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use PabloCano1/ordered-HC-gemma3-4b-fine-tuned with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="PabloCano1/ordered-HC-gemma3-4b-fine-tuned")# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("PabloCano1/ordered-HC-gemma3-4b-fine-tuned", dtype="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps
- vLLM
How to use PabloCano1/ordered-HC-gemma3-4b-fine-tuned with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "PabloCano1/ordered-HC-gemma3-4b-fine-tuned" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "PabloCano1/ordered-HC-gemma3-4b-fine-tuned", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/PabloCano1/ordered-HC-gemma3-4b-fine-tuned
- SGLang
How to use PabloCano1/ordered-HC-gemma3-4b-fine-tuned 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 "PabloCano1/ordered-HC-gemma3-4b-fine-tuned" \ --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": "PabloCano1/ordered-HC-gemma3-4b-fine-tuned", "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 "PabloCano1/ordered-HC-gemma3-4b-fine-tuned" \ --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": "PabloCano1/ordered-HC-gemma3-4b-fine-tuned", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use PabloCano1/ordered-HC-gemma3-4b-fine-tuned with Docker Model Runner:
docker model run hf.co/PabloCano1/ordered-HC-gemma3-4b-fine-tuned
Model description
This model is one of two population-specific models created to study linguistic differences between healthy controls and patients with psychosis. The general idea of the project is to compare both models using perplexity and other language-based signals. This is the Healthy model for simulating responses from healthy control participants in clinical interviews.
Training data
The model was trained on question-answer pairs extracted from the Discourse-UWO clinical interview dataset.
Intended use
This model is intended for research in clinical NLP, language modeling, and psychosis-related speech analysis. It can also be used for experiments with population-specific text generation.
Limitations
This model is for research purposes only and is not intended for diagnosis or clinical decision-making. The dataset is limited and imbalanced, so outputs may reflect dataset-specific biases.
Citation
If you use this model, cite the associated thesis documentation:
@misc{cano2026population_modeling_psychosis,
title={Towards Explainable AI for Psychosis Detection Through Clinical Language Modeling},
author={Pablo Ramon Cano Ortiz},
year={2026},
note={Undergraduate thesis, Universidad Politecnica de Madrid}
}
- Downloads last month
- 30