Instructions to use Mary222/MADE_AI_Dungeon_model_RUS with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Mary222/MADE_AI_Dungeon_model_RUS with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="Mary222/MADE_AI_Dungeon_model_RUS")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("Mary222/MADE_AI_Dungeon_model_RUS") model = AutoModelForCausalLM.from_pretrained("Mary222/MADE_AI_Dungeon_model_RUS", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use Mary222/MADE_AI_Dungeon_model_RUS with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Mary222/MADE_AI_Dungeon_model_RUS" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Mary222/MADE_AI_Dungeon_model_RUS", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/Mary222/MADE_AI_Dungeon_model_RUS
- SGLang
How to use Mary222/MADE_AI_Dungeon_model_RUS 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 "Mary222/MADE_AI_Dungeon_model_RUS" \ --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": "Mary222/MADE_AI_Dungeon_model_RUS", "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 "Mary222/MADE_AI_Dungeon_model_RUS" \ --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": "Mary222/MADE_AI_Dungeon_model_RUS", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use Mary222/MADE_AI_Dungeon_model_RUS with Docker Model Runner:
docker model run hf.co/Mary222/MADE_AI_Dungeon_model_RUS
Commit History
-
First model version_007
Chydfile530856e
-
First model version_008
Chydfilee88894b
-
First model version_009
Chydfile33a98c4 -
First model version_009
Chydfilec942331 -
First model version_009
Chydfilea412ef7
-
First model version_000
Chydfiled4a37d0 -
First model version_000
Chydfile32d3fcf -
Update tokenizer_config.json
943bf41 -
First model version_09
Chydfile32c81e8 -
First model version_19
Chydfile2c6c1a0 -
Merge branch 'main' of https://huggingface.co/Mary222/MADE_AI_Dungeon_model_RUS into main
Chydfilee4a1ac5 -
First model version_18
Chydfile88a670f -
Create README.md
df10bd3 -
First model version_17
Chydfileb2c2664 -
First model version_16
Chydfile79eccd8
-
Create config.json
cd70a9a -
Update README.md
fb8b57f -
Update README.md
23908f2
-
First model version
Chydfile5085da3 -
First model version
Chydfile91b27b3
-
Create README.md
166940f -
initial commit
f669a2f