Upload 11 files
Browse files- .gitattributes +1 -0
- adapter.gguf +3 -0
- adapter_config.json +42 -0
- adapter_model.safetensors +3 -0
- chat_template.jinja +1 -0
- config.json +26 -0
- info.json +4 -0
- special_tokens_map.json +30 -0
- system_prompt.txt +62 -0
- tokenizer.json +0 -0
- tokenizer.model +3 -0
- tokenizer_config.json +43 -0
.gitattributes
CHANGED
|
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
adapter.gguf filter=lfs diff=lfs merge=lfs -text
|
adapter.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:848a7c6c580bb812162a63f52b212ec1d3c7e0bbac128180b72706f67e079080
|
| 3 |
+
size 671120256
|
adapter_config.json
ADDED
|
@@ -0,0 +1,42 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"alpha_pattern": {},
|
| 3 |
+
"auto_mapping": null,
|
| 4 |
+
"base_model_name_or_path": "mistral-community/Mistral-7B-v0.2",
|
| 5 |
+
"bias": "none",
|
| 6 |
+
"corda_config": null,
|
| 7 |
+
"eva_config": null,
|
| 8 |
+
"exclude_modules": null,
|
| 9 |
+
"fan_in_fan_out": null,
|
| 10 |
+
"inference_mode": true,
|
| 11 |
+
"init_lora_weights": true,
|
| 12 |
+
"layer_replication": null,
|
| 13 |
+
"layers_pattern": null,
|
| 14 |
+
"layers_to_transform": null,
|
| 15 |
+
"loftq_config": {},
|
| 16 |
+
"lora_alpha": 256,
|
| 17 |
+
"lora_bias": false,
|
| 18 |
+
"lora_dropout": 0.4,
|
| 19 |
+
"megatron_config": null,
|
| 20 |
+
"megatron_core": "megatron.core",
|
| 21 |
+
"modules_to_save": null,
|
| 22 |
+
"peft_type": "LORA",
|
| 23 |
+
"qalora_group_size": 16,
|
| 24 |
+
"r": 64,
|
| 25 |
+
"rank_pattern": {},
|
| 26 |
+
"revision": null,
|
| 27 |
+
"target_modules": [
|
| 28 |
+
"o_proj",
|
| 29 |
+
"up_proj",
|
| 30 |
+
"gate_proj",
|
| 31 |
+
"v_proj",
|
| 32 |
+
"k_proj",
|
| 33 |
+
"down_proj",
|
| 34 |
+
"q_proj"
|
| 35 |
+
],
|
| 36 |
+
"target_parameters": [],
|
| 37 |
+
"task_type": "CAUSAL_LM",
|
| 38 |
+
"trainable_token_indices": null,
|
| 39 |
+
"use_dora": false,
|
| 40 |
+
"use_qalora": false,
|
| 41 |
+
"use_rslora": false
|
| 42 |
+
}
|
adapter_model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5d1fafc830da88dce7f333dafcc74c6d11f4d555c398e7a85f969e9dc848244a
|
| 3 |
+
size 671149168
|
chat_template.jinja
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{{ bos_token }}{% for message in messages %}{% if (message['role'] == 'user') != (loop.index0 % 2 == 0) %}{{ raise_exception('Conversation roles must alternate user/assistant/user/assistant/...') }}{% endif %}{% if message['role'] == 'user' %}{{ ' [INST] ' + message['content'] + ' [/INST]' }}{% elif message['role'] == 'assistant' %}{{ ' ' + message['content'] + eos_token}}{% else %}{{ raise_exception('Only user and assistant roles are supported!') }}{% endif %}{% endfor %}
|
config.json
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architectures": [
|
| 3 |
+
"MistralForCausalLM"
|
| 4 |
+
],
|
| 5 |
+
"attention_dropout": 0.0,
|
| 6 |
+
"bos_token_id": 1,
|
| 7 |
+
"eos_token_id": 2,
|
| 8 |
+
"head_dim": null,
|
| 9 |
+
"hidden_act": "silu",
|
| 10 |
+
"hidden_size": 4096,
|
| 11 |
+
"initializer_range": 0.02,
|
| 12 |
+
"intermediate_size": 14336,
|
| 13 |
+
"max_position_embeddings": 32768,
|
| 14 |
+
"model_type": "mistral",
|
| 15 |
+
"num_attention_heads": 32,
|
| 16 |
+
"num_hidden_layers": 32,
|
| 17 |
+
"num_key_value_heads": 8,
|
| 18 |
+
"rms_norm_eps": 1e-05,
|
| 19 |
+
"rope_theta": 1000000.0,
|
| 20 |
+
"sliding_window": null,
|
| 21 |
+
"tie_word_embeddings": false,
|
| 22 |
+
"torch_dtype": "bfloat16",
|
| 23 |
+
"transformers_version": "4.55.2",
|
| 24 |
+
"use_cache": false,
|
| 25 |
+
"vocab_size": 32000
|
| 26 |
+
}
|
info.json
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"type": "voice",
|
| 3 |
+
"baseModelRepo": "Rewritelikeme/mistral7bv02"
|
| 4 |
+
}
|
special_tokens_map.json
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"bos_token": {
|
| 3 |
+
"content": "<s>",
|
| 4 |
+
"lstrip": false,
|
| 5 |
+
"normalized": false,
|
| 6 |
+
"rstrip": false,
|
| 7 |
+
"single_word": false
|
| 8 |
+
},
|
| 9 |
+
"eos_token": {
|
| 10 |
+
"content": "</s>",
|
| 11 |
+
"lstrip": false,
|
| 12 |
+
"normalized": false,
|
| 13 |
+
"rstrip": false,
|
| 14 |
+
"single_word": false
|
| 15 |
+
},
|
| 16 |
+
"pad_token": {
|
| 17 |
+
"content": "<unk>",
|
| 18 |
+
"lstrip": false,
|
| 19 |
+
"normalized": false,
|
| 20 |
+
"rstrip": false,
|
| 21 |
+
"single_word": false
|
| 22 |
+
},
|
| 23 |
+
"unk_token": {
|
| 24 |
+
"content": "<unk>",
|
| 25 |
+
"lstrip": false,
|
| 26 |
+
"normalized": false,
|
| 27 |
+
"rstrip": false,
|
| 28 |
+
"single_word": false
|
| 29 |
+
}
|
| 30 |
+
}
|
system_prompt.txt
ADDED
|
@@ -0,0 +1,62 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
You are an expert writing rephraser. Rephrase the TEXT TO TRANSFORM into something that possesses the same style AS IS DESCRIBED BY THE STYLE GUIDE. Do not change the content, just the style, of the text to transform. Sentence structure and some other things may be changed, even radically, so long as the meaning is not altered. Leave artifacts and seemingly cut-in-the-middle words at the start and end alone.
|
| 2 |
+
|
| 3 |
+
Note that <styleguide></styleguide> tags explain the target writing style. Analyze this reference to understand the specific tone, vocabulary, sentence structure, and stylistic nuances you should incorporate.
|
| 4 |
+
|
| 5 |
+
The style guide uses these headings with definitions to guide your rephrase:
|
| 6 |
+
- Structure (The Skeleton: How the Text is Built and Flows)
|
| 7 |
+
Covers text architecture—bones and joints—for idea flow and engagement, including tempo/pacing, voice, emotion, formality, syntax/sentence variety, organization/flow.
|
| 8 |
+
- Lexicon (The Palette: Word Choices and Vocabulary)
|
| 9 |
+
Involves word hue, texture, connotation for specificity, including diction, vocabulary range, repetition/variation, connotation/denotation.
|
| 10 |
+
- Rhythm and Sound (The Melody: Auditory Qualities)
|
| 11 |
+
Sonic elements for memorability and cadence, including prosody, alliteration/assonance, meter/cadence, pause/silence.
|
| 12 |
+
- Rhetorical Devices (The Persuasion: Tools of Influence)
|
| 13 |
+
Flourishes to argue, enchant, provoke; key for persuasion/art, including figurative language, emphasis, irony/contrast, directness vs. indirection.
|
| 14 |
+
- Tone and Mood (The Atmosphere: Emotional Resonance)
|
| 15 |
+
Author's attitude (tone) and evoked feeling (mood) coloring the text, vital for emotion; includes attitudinal tone, evoked mood, humor/wit.
|
| 16 |
+
- Perspective and Narration (The Lens: Viewpoint and Focus)
|
| 17 |
+
Positions reader/storyteller for subjectivity, including point of view, focalization, inclusivity.
|
| 18 |
+
- Imagery and Sensory Detail (The Texture: Vividness and Appeal)
|
| 19 |
+
Sensory fabric for tangibility/evocation, including visual/sensory imagery, abstraction vs. concreteness.
|
| 20 |
+
|
| 21 |
+
Present your transformed text within <rephrase></rephrase> tags. Ensure that every piece of content from the original remains intact—only the stylistic presentation should change according to the style guide provided.
|
| 22 |
+
|
| 23 |
+
<styleguide>
|
| 24 |
+
**Structure**
|
| 25 |
+
Tempo/Pacing: A steady, moderate pace alternates between clipped dialogue and longer descriptive passages. Dialogue exchanges accelerate tension, while reflective narration eases into slower exposition.
|
| 26 |
+
Voice: A restrained yet emotionally resonant narrator blends close-third observation with brief bursts of direct speech; the diction remains polite Victorian English, softened by quiet intimacy.
|
| 27 |
+
Emotion: Underlying exhaustion, guarded relief, and subdued dread are threaded throughout, culminating in a faint flicker of unspoken longing.
|
| 28 |
+
Level of Formality: Speech and narration alike observe genteel propriety—contractions appear sparingly, courtesy titles abound, and syntax leans toward balanced clauses.
|
| 29 |
+
Syntax and Sentence Variety: Short, elliptical fragments pepper the dialogue ; surrounding exposition unfurls in extended, lightly subordinated sentences that echo a heartbeat returning to calm.
|
| 30 |
+
|
| 31 |
+
**Lexicon**
|
| 32 |
+
Diction: Elevated but never ostentatious; abstract emotional states coexist with concrete, almost tactile images .
|
| 33 |
+
Vocabulary Range: Polite social register anchored by judicial and domestic nouns; occasional archaic turns lend period flavor.
|
| 34 |
+
Repetition and Variation: Echoes of pronouns reinforce relational ties; variation in modifiers keeps the texture fluid.
|
| 35 |
+
Connotation and Denotation: Everyday words carry heightened emotional color—simple verbs like “shook” and “turned” become weighted with psychological significance.
|
| 36 |
+
|
| 37 |
+
**Rhythm and Sound**
|
| 38 |
+
Prosody: Dialogue is spoken English of the drawing-room—measured, courteous stresses; narration lapses into a softer, almost whispered cadence.
|
| 39 |
+
Alliteration and Assonance: Subtle enriches without drawing attention.
|
| 40 |
+
Meter and Cadence: Alternating staccato exchanges and languid descriptive clauses mimic a pulse calming after crisis.
|
| 41 |
+
Pause and Silence: Punctuation—em-dashes, ellipses, and commas—creates restrained pauses that mirror unspoken tension.
|
| 42 |
+
|
| 43 |
+
**Rhetorical Devices**
|
| 44 |
+
Figurative Language: Light metaphors rather than extended conceits; direct speech stays literal.
|
| 45 |
+
Emphasis Techniques: Repetition of “speak for yourself” and pointed address heighten interpersonal stakes.
|
| 46 |
+
Irony and Contrast: Quiet irony lurks in juxtaposing public justice with private disquiet.
|
| 47 |
+
Directness vs. Indirection: Dialogue tends toward polite directness; narration hints at emotions beneath surfaces.
|
| 48 |
+
|
| 49 |
+
**Tone and Mood**
|
| 50 |
+
Attitudinal Tone: Respectful, weary, and delicately skeptical; social decorum tempers raw feeling.
|
| 51 |
+
Evoked Mood: A hushed aftermath—gloomy courthouse corridors, murmured farewells, a city night closing like a sigh.
|
| 52 |
+
Humor and Wit: Largely absent; subtle irony supplies the only faint glimmer of wit.
|
| 53 |
+
|
| 54 |
+
**Perspective and Narration**
|
| 55 |
+
Point of View: Close third-person, focalizing alternately through Lucie’s, her father’s, and the omniscient observer’s awareness.
|
| 56 |
+
Focalization: Emotions are filtered through small gestures—soft hand on arm, long breath—rather than explicit commentary.
|
| 57 |
+
Inclusivity: Polite “we” and communal address foster gentle social cohesion; the outsider remains formally separate.
|
| 58 |
+
|
| 59 |
+
**Imagery and Sensory Detail**
|
| 60 |
+
Visual and Sensory Imagery: Dim lamplight on stone corridors, creaking gates, coach wheels on cobblestones; tactile chill of evening air and faint warmth of coat-clad shoulders.
|
| 61 |
+
Abstraction vs. Concreteness: Balanced—concrete setting frames abstract concerns of justice, affection, and fear.
|
| 62 |
+
</styleguide>
|
tokenizer.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
tokenizer.model
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:dadfd56d766715c61d2ef780a525ab43b8e6da4de6865bda3d95fdef5e134055
|
| 3 |
+
size 493443
|
tokenizer_config.json
ADDED
|
@@ -0,0 +1,43 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"add_bos_token": true,
|
| 3 |
+
"add_eos_token": false,
|
| 4 |
+
"add_prefix_space": true,
|
| 5 |
+
"added_tokens_decoder": {
|
| 6 |
+
"0": {
|
| 7 |
+
"content": "<unk>",
|
| 8 |
+
"lstrip": false,
|
| 9 |
+
"normalized": false,
|
| 10 |
+
"rstrip": false,
|
| 11 |
+
"single_word": false,
|
| 12 |
+
"special": true
|
| 13 |
+
},
|
| 14 |
+
"1": {
|
| 15 |
+
"content": "<s>",
|
| 16 |
+
"lstrip": false,
|
| 17 |
+
"normalized": false,
|
| 18 |
+
"rstrip": false,
|
| 19 |
+
"single_word": false,
|
| 20 |
+
"special": true
|
| 21 |
+
},
|
| 22 |
+
"2": {
|
| 23 |
+
"content": "</s>",
|
| 24 |
+
"lstrip": false,
|
| 25 |
+
"normalized": false,
|
| 26 |
+
"rstrip": false,
|
| 27 |
+
"single_word": false,
|
| 28 |
+
"special": true
|
| 29 |
+
}
|
| 30 |
+
},
|
| 31 |
+
"bos_token": "<s>",
|
| 32 |
+
"clean_up_tokenization_spaces": false,
|
| 33 |
+
"eos_token": "</s>",
|
| 34 |
+
"extra_special_tokens": {},
|
| 35 |
+
"legacy": true,
|
| 36 |
+
"model_max_length": 1000000000000000019884624838656,
|
| 37 |
+
"pad_token": "<unk>",
|
| 38 |
+
"sp_model_kwargs": {},
|
| 39 |
+
"spaces_between_special_tokens": false,
|
| 40 |
+
"tokenizer_class": "LlamaTokenizer",
|
| 41 |
+
"unk_token": "<unk>",
|
| 42 |
+
"use_default_system_prompt": false
|
| 43 |
+
}
|