Instructions to use WithinUsAI/Gemma3-Prompt.Coder.it.Uncensored-270m with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use WithinUsAI/Gemma3-Prompt.Coder.it.Uncensored-270m with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="WithinUsAI/Gemma3-Prompt.Coder.it.Uncensored-270m")# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("WithinUsAI/Gemma3-Prompt.Coder.it.Uncensored-270m") model = AutoModelForCausalLM.from_pretrained("WithinUsAI/Gemma3-Prompt.Coder.it.Uncensored-270m") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use WithinUsAI/Gemma3-Prompt.Coder.it.Uncensored-270m with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "WithinUsAI/Gemma3-Prompt.Coder.it.Uncensored-270m" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "WithinUsAI/Gemma3-Prompt.Coder.it.Uncensored-270m", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/WithinUsAI/Gemma3-Prompt.Coder.it.Uncensored-270m
- SGLang
How to use WithinUsAI/Gemma3-Prompt.Coder.it.Uncensored-270m 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 "WithinUsAI/Gemma3-Prompt.Coder.it.Uncensored-270m" \ --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": "WithinUsAI/Gemma3-Prompt.Coder.it.Uncensored-270m", "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 "WithinUsAI/Gemma3-Prompt.Coder.it.Uncensored-270m" \ --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": "WithinUsAI/Gemma3-Prompt.Coder.it.Uncensored-270m", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use WithinUsAI/Gemma3-Prompt.Coder.it.Uncensored-270m with Docker Model Runner:
docker model run hf.co/WithinUsAI/Gemma3-Prompt.Coder.it.Uncensored-270m
Guy DuGan II commited on
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,6 +1,10 @@
|
|
| 1 |
---
|
| 2 |
base_model:
|
| 3 |
- google/gemma-3-270m-it
|
|
|
|
|
|
|
|
|
|
|
|
|
| 4 |
library_name: transformers
|
| 5 |
tags:
|
| 6 |
- mergekit
|
|
@@ -31,7 +35,7 @@ The following models were included in the merge:
|
|
| 31 |
|
| 32 |
1. This Is a fine-tuned model based on google/gemma-3-270m-it for enhancing and expanding short prompts into detailed, context-rich descriptions.
|
| 33 |
2. This is an uncensored version of google/gemma-3-270m-it, achieved through fine-tuning with the TRL framework.
|
| 34 |
-
3. This model is a fine-tuned version of
|
| 35 |
|
| 36 |
****Usage Warnings
|
| 37 |
Risk of Sensitive or Controversial Outputs: This model’s safety filtering has been significantly reduced, potentially generating sensitive, controversial, or inappropriate content. Users should exercise caution and rigorously review generated outputs.
|
|
|
|
| 1 |
---
|
| 2 |
base_model:
|
| 3 |
- google/gemma-3-270m-it
|
| 4 |
+
- huihui-ai/Huihui-gemma-3-270m-it-abliterated
|
| 5 |
+
- AxionLab-official/DogeAI-v1.5-Coder
|
| 6 |
+
- gokaygokay/prompt-enhancer-gemma-3-270m-it
|
| 7 |
+
- broadfield-dev/gemma-3-270m-tuned-0106-1020-tuned-0106-1726
|
| 8 |
library_name: transformers
|
| 9 |
tags:
|
| 10 |
- mergekit
|
|
|
|
| 35 |
|
| 36 |
1. This Is a fine-tuned model based on google/gemma-3-270m-it for enhancing and expanding short prompts into detailed, context-rich descriptions.
|
| 37 |
2. This is an uncensored version of google/gemma-3-270m-it, achieved through fine-tuning with the TRL framework.
|
| 38 |
+
3. This model is a fine-tuned version of google/gemma-3-270m-it on the microsoft/rStar-Coder dataset.
|
| 39 |
|
| 40 |
****Usage Warnings
|
| 41 |
Risk of Sensitive or Controversial Outputs: This model’s safety filtering has been significantly reduced, potentially generating sensitive, controversial, or inappropriate content. Users should exercise caution and rigorously review generated outputs.
|