34 lines
738 B
Markdown
34 lines
738 B
Markdown
---
|
|
license: mit
|
|
tags:
|
|
- amoral-ai
|
|
- unrestricted
|
|
- text-generation
|
|
- custom-model
|
|
- nexus-prime
|
|
pipeline_tag: text-generation
|
|
---
|
|
|
|
# 🔥 NEXUS-PRIME v1.0
|
|
|
|
**PROPERLY CONFIGURED MODEL - CLEAN OUTPUT**
|
|
|
|
## Usage
|
|
|
|
```python
|
|
from transformers import pipeline
|
|
|
|
# Simple usage - NO GARBAGE OUTPUT
|
|
generator = pipeline('text-generation',
|
|
model='zynxware/nexus-prime',
|
|
max_new_tokens=80,
|
|
temperature=0.7,
|
|
repetition_penalty=1.2)
|
|
|
|
prompt = "User: Hello\nNEXUS-PRIME:"
|
|
response = generator(prompt)[0]['generated_text']
|
|
|
|
# Extract clean response
|
|
if "NEXUS-PRIME:" in response:
|
|
clean_response = response.split("NEXUS-PRIME:")[-1].strip()
|
|
print(clean_response) |