Instructions to use FPHam/Ebony_FicWriter_13b_GPTQ with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use FPHam/Ebony_FicWriter_13b_GPTQ with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="FPHam/Ebony_FicWriter_13b_GPTQ")# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("FPHam/Ebony_FicWriter_13b_GPTQ") model = AutoModelForCausalLM.from_pretrained("FPHam/Ebony_FicWriter_13b_GPTQ", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use FPHam/Ebony_FicWriter_13b_GPTQ with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "FPHam/Ebony_FicWriter_13b_GPTQ" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "FPHam/Ebony_FicWriter_13b_GPTQ", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/FPHam/Ebony_FicWriter_13b_GPTQ
- SGLang
How to use FPHam/Ebony_FicWriter_13b_GPTQ 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 "FPHam/Ebony_FicWriter_13b_GPTQ" \ --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": "FPHam/Ebony_FicWriter_13b_GPTQ", "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 "FPHam/Ebony_FicWriter_13b_GPTQ" \ --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": "FPHam/Ebony_FicWriter_13b_GPTQ", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use FPHam/Ebony_FicWriter_13b_GPTQ with Docker Model Runner:
docker model run hf.co/FPHam/Ebony_FicWriter_13b_GPTQ
Ebony FicWriter Introduction
"I don't know what you mean," Ebony replied innocently. "I just love writing stories for the fandom."
It was true enough; it wasn't as if she had ever tried to create anything original herself. Her prose style showed no sign of having matured over the years.
If anything, it was even more unashamedly purile than when she first started out, with every sentence dripping with the most lurid double entendres imaginable. Yet still she insisted on ploughing ahead, determined to cram into each and every story every single one of those ghastly Gothic clichés - not to mention assorted characters from the Wizarding World That Shall Not Be Named - regardless of whether they fitted or made any sense at all. And there was still that disturbing fixation with Draco Malfoy ...
"Ebony, darling?"
Her eyes widened. "What?" She flushed prettily.
"Well," I said, after a moment's deliberation. "You have improved your grammar slightly. Barely noticeably, but still ..."
"Grammar! What about my grammar? I never got no problem with my grammar!"
"Well, maybe not," I agreed, feeling vaguely guilty. "At least you've made an effort. So what you like to write about these days?" I changed the subject.
"Just stuff, really. I'm working on a new project right now. It's called 'The Unfortunate Lustfulness of Draco Malfoy.' Do you want me to read some of it to you?"
I shook my head quickly. "No, thank you. Sounds quite... not my style. But I hope you enjoy writing it."
"Oh, yes! Thank you. Well, I should probably get back to work then. Nice seeing you again, FP Ham!"
"Wait, wait," I said hurriedly. "What's your real name?"
"My real name? Oh, that's Staze.
And with a final smile, she disappeared through the doorway.
Enoby uses ALPACA instruct
Below is an instruction that describes a task. Write a response that appropriately completes the request.
### Instruction:
Write me a new episode for Star Trek crossover with Pride and Prejudice. Use first POV.
### Response:
Example of Ebony's fanfic writing "style"
- Downloads last month
- 7