Erotic-literature Text Generation Model
Overview
This model is a fine-tuned version of the meta-llama/Llama-3.1-8B, using the SFT approach on the XuehangCang/Erotic-literature dataset. It's specifically crafted to understand and generate text in Chinese related to the erotic literature genre. This makes it an invaluable tool for tasks involving creative writing, story generation, or other applications within this specific domain.
Model Details
- Base Model:
meta-llama/Llama-3.1-8B
- Model Type: Text Generation
- Language: Chinese (zh)
- Fine-Tuning: The model has been fine-tuned using the
XuehangCang/Erotic-literature
dataset which specifically focuses on erotic literature. This allows the model to generate relevant and cohesive content within this genre.
Usage
Example
This model can be utilized through the Transformers library. Below is a basic example of how to use this model for text generation:
import transformers
import torch
model_id = "XuehangCang/Llama3.1-8B-El"
pipeline = transformers.pipeline(
"text-generation", model=model_id, model_kwargs={"torch_dtype": torch.bfloat16}, device_map="auto"
)
print(pipeline("这天晚上又睡到一起的时候,表妹就和我靠的很近了,头依靠在我的肩膀上。", max_length=150))
"""
[{'generated_text':
'这天晚上又睡到一起的时候,表妹就和我靠的很近了,头依靠在我的肩膀上。
我的手臂也就自然的包住了她那小小的腰部。可是我并没有去想这些,反正我也很喜欢这样。
可是她就好像是知道了我的想法似的,突然就把头往后一仰,抬起头来,正好和我四目相对。
她的眼睛在黑暗中闪着光。她的眼神像是在问我什么。可是我并没有回答她。
因为我不知道自己该怎么回答她。她的眼神像是在问我,为什么我要这样做'
}]
"""
Applications
- Creative Writing: Writers looking to explore themes within the erotic literature genre can leverage this model for inspiration.
- Research: Researchers studying linguistic patterns or narrative structures in adult literature might find this model useful.
- Entertainment: Can be used to generate content for storytelling games or interactive fiction.
Ethical Considerations
- Content Sensitivity: As this model generates content related to erotic literature, users should be aware of the mature nature of the outputs. Appropriately manage the generated content to ensure it meets relevant ethical and legal standards.
- Bias and Representation: While trained exclusively on a specific genre, be cautious of any biases that may arise from the dataset used. Ensure inclusivity and sensitive handling of different characters and narratives.
License
The model is licensed under a different license type, which may have specific restrictions or requirements. Users should review the license associated with meta-llama/Llama-3.1-8B
and ensure compliance with its terms when using this fine-tuned model.
Contact
For questions or feedback related to the model, feel free to contact the contributor or host organization associated with XuehangCang/Erotic-literature-split
dataset.
This model card provides a comprehensive overview of the intended use and capabilities of the erotic literature text generation model. Users are encouraged to explore its features while being mindful of ethical considerations and licensing terms.
@misc {xuehangcang_2025,
author = { {XuehangCang} },
title = { Llama3.1-8B-El (Revision e9e428a) },
year = 2025,
url = { https://huggingface.co/XuehangCang/Llama3.1-8B-El },
doi = { 10.57967/hf/4204 },
publisher = { Hugging Face }
}
Model tree for XuehangCang/Llama3.1-8B-El
Base model
meta-llama/Llama-3.1-8B