Instructions to use procedure2012/Lyra-Creative-Writer with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use procedure2012/Lyra-Creative-Writer with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="procedure2012/Lyra-Creative-Writer")# Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("procedure2012/Lyra-Creative-Writer") model = AutoModel.from_pretrained("procedure2012/Lyra-Creative-Writer", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 2,351 Bytes
2adea05 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 | ---
license: cc-by-sa-4.0
library_name: transformers
---
# Lyra-Creative-Writer
<!-- markdownlint-disable first-line-h1 -->
<!-- markdownlint-disable html -->
<!-- markdownlint-disable no-duplicate-header -->
<div align="center">
<img src="figures/fig1.png" width="60%" alt="Lyra-Creative-Writer" />
</div>
<hr>
## 1. Introduction
Lyra-Creative-Writer is optimised for long-form creative writing, narrative coherence and stylistic control.
## 2. Evaluation Results
### Comprehensive Benchmark Results
<div align="center">
| | Benchmark | MuseLM | Lyra-draft | StoryForge | Lyra-Creative-Writer |
|---|---|---|---|---|---|
| **Core Reasoning Tasks** | Math Reasoning | 0.573 | 0.527 | 0.555 | 0.579 |
| | Logical Reasoning | 0.828 | 0.793 | 0.820 | 0.841 |
| | Common Sense | 0.734 | 0.730 | 0.712 | 0.754 |
| **Language Understanding** | Reading Comprehension | 0.685 | 0.703 | 0.694 | 0.722 |
| | Question Answering | 0.578 | 0.587 | 0.573 | 0.621 |
| | Text Classification | 0.801 | 0.791 | 0.812 | 0.840 |
| | Sentiment Analysis | 0.775 | 0.769 | 0.745 | 0.802 |
| **Generation Tasks** | Code Generation | 0.630 | 0.669 | 0.621 | 0.680 |
| | Creative Writing | 0.587 | 0.632 | 0.620 | 0.642 |
| | Dialogue Generation | 0.650 | 0.606 | 0.624 | 0.664 |
| | Summarization | 0.759 | 0.768 | 0.726 | 0.782 |
| **Specialized Capabilities** | Translation | 0.790 | 0.798 | 0.769 | 0.813 |
| | Knowledge Retrieval | 0.648 | 0.653 | 0.645 | 0.691 |
| | Instruction Following | 0.768 | 0.762 | 0.761 | 0.773 |
| | Safety Evaluation | 0.701 | 0.708 | 0.746 | 0.753 |
</div>
### Overall Performance Summary
The Lyra-Creative-Writer demonstrates strong performance across all evaluated benchmark categories, with particularly notable results in reasoning and generation tasks.
## 3. Chat Website & API Platform
We offer a chat interface and API for you to interact with Lyra-Creative-Writer. Please check our official website for more details.
## 4. How to Run Locally
Please refer to our code repository for more information about running Lyra-Creative-Writer locally.
### Temperature
We recommend setting the temperature parameter to 0.6.
## 5. License
This repository is released under the cc-by-sa-4.0 license. The model supports commercial use.
## 6. Contact
If you have any questions, please contact us at writers@lyra.studio.
|