Text Generation
Transformers
Safetensors
English
Japanese
Chinese
llama
roleplay
llama3
sillytavern
idol
text-generation-inference
Instructions to use aifeifei798/llama3-8B-DarkIdol-2.2-Uncensored-1048K with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use aifeifei798/llama3-8B-DarkIdol-2.2-Uncensored-1048K with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="aifeifei798/llama3-8B-DarkIdol-2.2-Uncensored-1048K")# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("aifeifei798/llama3-8B-DarkIdol-2.2-Uncensored-1048K") model = AutoModelForCausalLM.from_pretrained("aifeifei798/llama3-8B-DarkIdol-2.2-Uncensored-1048K") - Inference
- Local Apps Settings
- vLLM
How to use aifeifei798/llama3-8B-DarkIdol-2.2-Uncensored-1048K with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "aifeifei798/llama3-8B-DarkIdol-2.2-Uncensored-1048K" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "aifeifei798/llama3-8B-DarkIdol-2.2-Uncensored-1048K", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/aifeifei798/llama3-8B-DarkIdol-2.2-Uncensored-1048K
- SGLang
How to use aifeifei798/llama3-8B-DarkIdol-2.2-Uncensored-1048K 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 "aifeifei798/llama3-8B-DarkIdol-2.2-Uncensored-1048K" \ --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": "aifeifei798/llama3-8B-DarkIdol-2.2-Uncensored-1048K", "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 "aifeifei798/llama3-8B-DarkIdol-2.2-Uncensored-1048K" \ --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": "aifeifei798/llama3-8B-DarkIdol-2.2-Uncensored-1048K", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use aifeifei798/llama3-8B-DarkIdol-2.2-Uncensored-1048K with Docker Model Runner:
docker model run hf.co/aifeifei798/llama3-8B-DarkIdol-2.2-Uncensored-1048K
Upload 2 files
Browse files- Model-Requests.txt +17 -0
- README.md +8 -3
Model-Requests.txt
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Request: aifeifei798/llama3-8B-DarkIdol-2.2-Uncensored-32K
|
| 2 |
+
|
| 3 |
+
Model name:
|
| 4 |
+
llama3-8B-DarkIdol-2.2-Uncensored-1048K
|
| 5 |
+
|
| 6 |
+
Model link:
|
| 7 |
+
https://huggingface.co/aifeifei798/llama3-8B-DarkIdol-2.2-Uncensored-1048K
|
| 8 |
+
|
| 9 |
+
Brief description:
|
| 10 |
+
The module combination has been readjusted to better fulfill various roles and has been adapted for mobile phones.
|
| 11 |
+
Uncensored 1048K
|
| 12 |
+
|
| 13 |
+
An image/direct image link to represent the model (square shaped):
|
| 14 |
+

|
| 15 |
+
|
| 16 |
+
---
|
| 17 |
+
Thank you very much
|
README.md
CHANGED
|
@@ -17,6 +17,11 @@ tags:
|
|
| 17 |
|
| 18 |
## Why 1048K?
|
| 19 |
Due to the optimization of the preferred model, its performance is excellent across the range of 2000-1048K. Personal usage scenarios, such as 8186, 32K, etc., are insufficient. My primary role involves managing virtual idol Twitter accounts and assisting with singing, etc. A good conversation can be very lengthy, and sometimes even 32K is not enough. Imagine having a heated chat with your virtual girlfriend, only for it to abruptly cut off—that feeling is too painful. What kind of graphics card is needed? For investing in a girlfriend, would a 4090 or higher be more of a question?
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 20 |
# Model Description:
|
| 21 |
The module combination has been readjusted to better fulfill various roles and has been adapted for mobile phones.
|
| 22 |
|
|
@@ -35,7 +40,7 @@ The module combination has been readjusted to better fulfill various roles and h
|
|
| 35 |
|
| 36 |
# Chang Log
|
| 37 |
### 2024-07-01
|
| 38 |
-
- add writer
|
| 39 |
- Optimize Japanese
|
| 40 |
- Optimize logical processing
|
| 41 |
- More humanized
|
|
@@ -240,7 +245,7 @@ This model was merged using the [Model Stock](https://arxiv.org/abs/2403.19522)
|
|
| 240 |
### Models Merged
|
| 241 |
|
| 242 |
The following models were included in the merge:
|
| 243 |
-
* [aifeifei798/llama3-8B-DarkIdol-2.
|
| 244 |
* [TheBossLevel123/Llama3-Toxic-8B-Float16](https://huggingface.co/TheBossLevel123/Llama3-Toxic-8B-Float16)
|
| 245 |
|
| 246 |
### Configuration
|
|
@@ -251,7 +256,7 @@ The following YAML configuration was used to produce this model:
|
|
| 251 |
models:
|
| 252 |
#uncensored
|
| 253 |
- model: TheBossLevel123/Llama3-Toxic-8B-Float16
|
| 254 |
-
- model: aifeifei798/llama3-8B-DarkIdol-2.
|
| 255 |
- model: ./llama3-8B-DarkIdol-2.2-Uncensored-1048K-b
|
| 256 |
merge_method: model_stock
|
| 257 |
base_model: ./llama3-8B-DarkIdol-2.2-Uncensored-1048K-b
|
|
|
|
| 17 |
|
| 18 |
## Why 1048K?
|
| 19 |
Due to the optimization of the preferred model, its performance is excellent across the range of 2000-1048K. Personal usage scenarios, such as 8186, 32K, etc., are insufficient. My primary role involves managing virtual idol Twitter accounts and assisting with singing, etc. A good conversation can be very lengthy, and sometimes even 32K is not enough. Imagine having a heated chat with your virtual girlfriend, only for it to abruptly cut off—that feeling is too painful. What kind of graphics card is needed? For investing in a girlfriend, would a 4090 or higher be more of a question?
|
| 20 |
+
|
| 21 |
+
## my virtual idol Twitter
|
| 22 |
+
- https://x.com/aifeifei799
|
| 23 |
+
- https://x.com/aifeifei798
|
| 24 |
+
|
| 25 |
# Model Description:
|
| 26 |
The module combination has been readjusted to better fulfill various roles and has been adapted for mobile phones.
|
| 27 |
|
|
|
|
| 40 |
|
| 41 |
# Chang Log
|
| 42 |
### 2024-07-01
|
| 43 |
+
- add writer and more RP
|
| 44 |
- Optimize Japanese
|
| 45 |
- Optimize logical processing
|
| 46 |
- More humanized
|
|
|
|
| 245 |
### Models Merged
|
| 246 |
|
| 247 |
The following models were included in the merge:
|
| 248 |
+
* [aifeifei798/llama3-8B-DarkIdol-2.1-Uncensored-1048K](https://huggingface.co/aifeifei798/llama3-8B-DarkIdol-2.1-Uncensored-1048K)
|
| 249 |
* [TheBossLevel123/Llama3-Toxic-8B-Float16](https://huggingface.co/TheBossLevel123/Llama3-Toxic-8B-Float16)
|
| 250 |
|
| 251 |
### Configuration
|
|
|
|
| 256 |
models:
|
| 257 |
#uncensored
|
| 258 |
- model: TheBossLevel123/Llama3-Toxic-8B-Float16
|
| 259 |
+
- model: aifeifei798/llama3-8B-DarkIdol-2.1-Uncensored-1048K
|
| 260 |
- model: ./llama3-8B-DarkIdol-2.2-Uncensored-1048K-b
|
| 261 |
merge_method: model_stock
|
| 262 |
base_model: ./llama3-8B-DarkIdol-2.2-Uncensored-1048K-b
|