Instructions to use danielporta/GatedModel with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use danielporta/GatedModel with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="danielporta/GatedModel")# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("danielporta/GatedModel", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use danielporta/GatedModel with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "danielporta/GatedModel" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "danielporta/GatedModel", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/danielporta/GatedModel
- SGLang
How to use danielporta/GatedModel 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 "danielporta/GatedModel" \ --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": "danielporta/GatedModel", "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 "danielporta/GatedModel" \ --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": "danielporta/GatedModel", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use danielporta/GatedModel with Docker Model Runner:
docker model run hf.co/danielporta/GatedModel
Request access to GatedModel-S
GatedModel-S is distributed to users located in the EU/EEA or Switzerland. Access is granted once you confirm your location below. We do not collect your username or email address. Privacy notice: https://GatedModel.info/privacy/model-access (TODO: URL bestätigen)
Distribution of GatedModel-S is limited to the EU/EEA and Switzerland. The model itself is licensed under the Apache License 2.0.
Log in or Sign Up to review the conditions and access this model content.
GatedModel-S
TODO: Ein bis zwei Sätze: was GatedModel-S ist, für wen, in welchem Projekt entstanden.
Model details
| Published by | GatedModel e.V. |
| Developed by | TODO (beteiligte Partner) |
| Funded by | TODO (Förderprogramm, Förderkennzeichen) |
| Model type | TODO (z. B. Decoder-only Transformer) |
| Parameters | TODO |
| Context length | TODO |
| Languages | German, English (TODO prüfen) |
| License | Apache License 2.0 |
| Version / release date | TODO |
Access and distribution
The model files are stored in the EU (Hugging Face storage region EU). GatedModel e.V. distributes the model to users located in the EU/EEA or Switzerland. Access is granted after you confirm that you are located there.
The gate governs how we distribute the model. It does not restrict the rights granted by the Apache License 2.0 to licensees.
Redistribution. GatedModel e.V. distributes GatedModel-S only to users located in the
EU/EEA or Switzerland and does not distribute, offer or market it elsewhere. The
Apache License 2.0 permits recipients to redistribute the model. Any such further
distribution, including to persons outside the EU/EEA or Switzerland, is the sole act
and responsibility of the person who redistributes it, not of GatedModel e.V. This notice
is for information only and does not modify the license. See also NOTICE, which
redistributors must pass on (Apache License 2.0, Section 4(d)).
Uses
Intended use
TODO
Out-of-scope use
TODO
How to use
from transformers import AutoModelForCausalLM, AutoTokenizer
model_id = "ORG/GatedModel-S" # TODO
tokenizer = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForCausalLM.from_pretrained(model_id)
Gated repo: confirm your location on the model page first, then log in
(hf auth login) with the same account.
Training data
TODO: Quellen, Umfang, Sprachen, Zeitraum.
Data provenance and copyright
- TODO: Herkunft der Daten dokumentieren (Quelle, Lizenz, Abrufdatum).
- TODO: Beachtung von Nutzungsvorbehalten (TDM-Opt-out nach § 44b UrhG / Art. 4 DSM-RL, robots.txt, maschinenlesbare Vorbehalte) – wie geprüft, wie dokumentiert.
- TODO: Link zur öffentlichen Zusammenfassung der Trainingsdaten (AI Act Art. 53 Abs. 1 lit. d).
- TODO: Link zur Copyright-Policy (AI Act Art. 53 Abs. 1 lit. c).
Training procedure
TODO: Hardware, Rechenaufwand, Hyperparameter, Trainingscode (Link).
Evaluation
TODO
Memorisation testing
TODO: Deduplizierung, Extraktionstests gegen bekannte geschützte Texte, Ergebnisse, gegebenenfalls Filter.
Bias, risks and limitations
TODO
Environmental impact
TODO (Hardware, Stunden, Region, geschätzte Emissionen)
License
Apache License 2.0. See LICENSE and NOTICE.
Privacy notice for access requests
To request access you need a Hugging Face account; Hugging Face processes your account data under its own privacy policy. We configure the gate so that Hugging Face does not pass your username or email address to us. We only see that a request was made, when, and that the location confirmation was ticked. We do not keep our own copy of these requests. The request list is held by Hugging Face and is deleted together with the repository.
Controller: GatedModel e.V. Privacy contact: dataprotection@GatedModel.info Full privacy notice: https://GatedModel.info/privacy/model-access (TODO: URL bestätigen)
Citation
@misc{GatedModel-s,
title = {GatedModel-S},
author = {TODO},
year = {TODO},
url = {https://huggingface.co/ORG/GatedModel-S}
}
Contact
TODO