Commit
·
17627a9
1
Parent(s):
d79db02
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,3 +1,37 @@
|
|
| 1 |
---
|
| 2 |
license: apache-2.0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
license: apache-2.0
|
| 3 |
+
datasets:
|
| 4 |
+
- TriadParty/deepsword
|
| 5 |
+
language:
|
| 6 |
+
- zh
|
| 7 |
+
- en
|
| 8 |
---
|
| 9 |
+
## **Deepsword-34B-Base**
|
| 10 |
+
Introducing **wrath** in the Seven Deadly Sins series of models.
|
| 11 |
+

|
| 12 |
+
- Continuous pre-training of qlora on Yi-34b
|
| 13 |
+
- High-quality martial arts novels
|
| 14 |
+
- Thoughtful cleaning process
|
| 15 |
+
|
| 16 |
+
This model is designed to serve as the base model in the agent model of the script-killing game process. For this purpose, I've collected approximately 10G of martial arts novels, sourced from various novel websites and PT sites. However, this dataset includes a significant amount of duplicate and low-quality content. To address these issues, I've undertaken the following steps:
|
| 17 |
+
|
| 18 |
+
### 1. Define Data Quality Dimensions
|
| 19 |
+
For martial arts novels, high-quality works are typically represented by authors like Jin Yong, Gu Long, and Liang Yusheng. In these novels, the complexity of the plot is a critical factor and is the focal point for script quality.
|
| 20 |
+
|
| 21 |
+
### 2. Quantify Data Quality Dimensions
|
| 22 |
+
Given the emphasis on plot complexity, we approached this in several stages:
|
| 23 |
+
|
| 24 |
+
Chapter Summarization:
|
| 25 |
+
|
| 26 |
+
English: Utilize [Hugging Face's LED-Large-Book-Summary model](https://huggingface.co/pszemraj/led-large-book-summary).
|
| 27 |
+
Chinese: Use the [Randeng-Pegasus-523M-Summary-Chinese](https://huggingface.co/IDEA-CCNL/Randeng-Pegasus-523M-Summary-Chinese) model.
|
| 28 |
+
Vectorization and Complexity Analysis:
|
| 29 |
+
|
| 30 |
+
Convert plot summaries into vectors using a BERT-based model.
|
| 31 |
+
Measure transitions between chapters through cosine similarity or Euclidean distance.
|
| 32 |
+
Develop a complexity algorithm focused on standard deviation and peak analysis.
|
| 33 |
+
Metric Quantification:
|
| 34 |
+
|
| 35 |
+
Apply subjective weighting to the complexity metrics derived from chapter transitions.
|
| 36 |
+
### 3. Outcome
|
| 37 |
+
By employing these methods, we can effectively filter out novels of higher quality. This refined [dataset](https://huggingface.co/datasets/TriadParty/deepsword) has been shared for further use. The next step is to continue pretraining, for which specific parameters can be referred to in my previous model descriptions.
|