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")# 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") - Notebooks
- Google Colab
- Kaggle
- Local Apps
- 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 530856e
Chydfile commited on
First model version_008 e88894b
Chydfile commited on
First model version_009 33a98c4
Chydfile commited on
First model version_009 c942331
Chydfile commited on
First model version_009 a412ef7
Chydfile commited on
First model version_000 d4a37d0
Chydfile commited on
First model version_000 32d3fcf
Chydfile commited on
Update tokenizer_config.json 943bf41
First model version_09 32c81e8
Chydfile commited on
First model version_19 2c6c1a0
Chydfile commited on
Merge branch 'main' of https://huggingface.co/Mary222/MADE_AI_Dungeon_model_RUS into main e4a1ac5
Chydfile commited on
First model version_18 88a670f
Chydfile commited on
Create README.md df10bd3
First model version_17 b2c2664
Chydfile commited on
First model version_16 79eccd8
Chydfile commited on
Create config.json cd70a9a
Update README.md fb8b57f
Update README.md 23908f2
First model version 5085da3
Chydfile commited on
First model version 91b27b3
Chydfile commited on