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
- 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
Create README.md
Browse files
README.md
ADDED
|
@@ -0,0 +1,43 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
base_model:
|
| 3 |
+
- google/gemma-3-270m-it
|
| 4 |
+
library_name: transformers
|
| 5 |
+
tags:
|
| 6 |
+
- mergekit
|
| 7 |
+
- merge
|
| 8 |
+
datasets:
|
| 9 |
+
- microsoft/rStar-Coder
|
| 10 |
+
- gokaygokay/prompt-enhancement-75k
|
| 11 |
+
- gokaygokay/prompt-enhancer-dataset
|
| 12 |
+
---
|
| 13 |
+
# Gemma-3-Prompt-Coder-270m-it (Uncensored)
|
| 14 |
+
|
| 15 |
+
This is a merge of pre-trained language models created using [mergekit](https://github.com/cg123/mergekit).
|
| 16 |
+
|
| 17 |
+
## Merge Details
|
| 18 |
+
### Merge Method
|
| 19 |
+
|
| 20 |
+
This model was merged using the [SLERP](https://en.wikipedia.org/wiki/Slerp) merge method.
|
| 21 |
+
|
| 22 |
+
### Models Merged
|
| 23 |
+
|
| 24 |
+
The following models were included in the merge:
|
| 25 |
+
|
| 26 |
+
* huihui-ai-Huihui-gemma-3-270m-it-abliterated
|
| 27 |
+
* AxionLab-official-DogeAI-v1.5-Coder
|
| 28 |
+
* gokaygokay-prompt-enhancer-gemma-3-270m-it
|
| 29 |
+
* broadfield-dev-gemma-3-270m-tuned-0106-1726
|
| 30 |
+
|
| 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 broadfield-dev/gemma-3-270m-tuned-0106-1020 on the microsoft/rStar-Coder dataset.
|
| 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.
|
| 38 |
+
Not Suitable for All Audiences: Due to limited content filtering, the model’s outputs may be inappropriate for public settings, underage users, or applications requiring high security.
|
| 39 |
+
Legal and Ethical Responsibilities: Users must ensure their usage complies with local laws and ethical standards. Generated content may carry legal or ethical risks, and users are solely responsible for any consequences.
|
| 40 |
+
Research and Experimental Use: It is recommended to use this model for research, testing, or controlled environments, avoiding direct use in production or public-facing commercial applications.
|
| 41 |
+
Monitoring and Review Recommendations: Users are strongly advised to monitor model outputs in real-time and conduct manual reviews when necessary to prevent the dissemination of inappropriate content.
|
| 42 |
+
No Default Safety Guarantees: Unlike standard models, this model has not undergone rigorous safety optimization. huihui.ai bears no responsibility for any consequences arising from its use.
|
| 43 |
+
```
|