Instructions to use BigSalmon/InformalToFormalLincoln59Paraphrase with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use BigSalmon/InformalToFormalLincoln59Paraphrase with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="BigSalmon/InformalToFormalLincoln59Paraphrase")# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("BigSalmon/InformalToFormalLincoln59Paraphrase") model = AutoModelForCausalLM.from_pretrained("BigSalmon/InformalToFormalLincoln59Paraphrase") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use BigSalmon/InformalToFormalLincoln59Paraphrase with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "BigSalmon/InformalToFormalLincoln59Paraphrase" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "BigSalmon/InformalToFormalLincoln59Paraphrase", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/BigSalmon/InformalToFormalLincoln59Paraphrase
- SGLang
How to use BigSalmon/InformalToFormalLincoln59Paraphrase 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 "BigSalmon/InformalToFormalLincoln59Paraphrase" \ --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": "BigSalmon/InformalToFormalLincoln59Paraphrase", "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 "BigSalmon/InformalToFormalLincoln59Paraphrase" \ --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": "BigSalmon/InformalToFormalLincoln59Paraphrase", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use BigSalmon/InformalToFormalLincoln59Paraphrase with Docker Model Runner:
docker model run hf.co/BigSalmon/InformalToFormalLincoln59Paraphrase
Update README.md
Browse files
README.md
CHANGED
|
@@ -248,4 +248,39 @@ input: not loyal
|
|
| 248 |
***
|
| 249 |
|
| 250 |
input:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 251 |
```
|
|
|
|
| 248 |
***
|
| 249 |
|
| 250 |
input:
|
| 251 |
+
```
|
| 252 |
+
|
| 253 |
+
```
|
| 254 |
+
first: ( was complicit in / was involved in ).
|
| 255 |
+
antonym: ( was blameless / was not an accomplice to / had no hand in / was uninvolved in ).
|
| 256 |
+
|
| 257 |
+
***
|
| 258 |
+
|
| 259 |
+
first: ( have no qualms about / see no issue with ).
|
| 260 |
+
antonym: ( are deeply troubled by / harbor grave reservations about / have a visceral aversion to / take ( umbrage at / exception to ) / are wary of ).
|
| 261 |
+
|
| 262 |
+
***
|
| 263 |
+
|
| 264 |
+
first: ( do not see eye to eye / disagree often ).
|
| 265 |
+
antonym: ( are in sync / are united / have excellent rapport / are like-minded / are in step / are of one mind / are in lockstep / operate in perfect harmony / march in lockstep ).
|
| 266 |
+
|
| 267 |
+
***
|
| 268 |
+
|
| 269 |
+
first:
|
| 270 |
+
```
|
| 271 |
+
|
| 272 |
+
```
|
| 273 |
+
stiff with competition, law school {A} is the launching pad for countless careers, {B} is a crowded field, {C} ranks among the most sought-after professional degrees, {D} is a professional proving ground.
|
| 274 |
+
|
| 275 |
+
***
|
| 276 |
+
|
| 277 |
+
languishing in viewership, saturday night live {A} is due for a creative renaissance, {B} is no longer a ratings juggernaut, {C} has been eclipsed by its imitators, {C} can still find its mojo.
|
| 278 |
+
|
| 279 |
+
***
|
| 280 |
+
|
| 281 |
+
dubbed the "manhattan of the south," atlanta {A} is a bustling metropolis, {B} is known for its vibrant downtown, {C} is a city of rich history, {D} is the pride of georgia.
|
| 282 |
+
|
| 283 |
+
***
|
| 284 |
+
|
| 285 |
+
embattled by scandal, harvard {A} is feeling the heat, {B} cannot escape the media glare, {C} is facing its most intense scrutiny yet, {D} is in the spotlight for all the wrong reasons.
|
| 286 |
```
|