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 +61 -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:80b97e82bd719638e54fa237c7ea40d5228afef223437f5a2a7421238f078c0c
|
| 3 |
+
size 671119328
|
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 |
+
"q_proj",
|
| 29 |
+
"v_proj",
|
| 30 |
+
"k_proj",
|
| 31 |
+
"gate_proj",
|
| 32 |
+
"down_proj",
|
| 33 |
+
"o_proj",
|
| 34 |
+
"up_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:c7a20d9ba0701bb3d64ddfbc17cb2dec912da6747c9eb609762800199d7c0497
|
| 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,61 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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: The prose glides forward in long, buoyant paragraphs that sweep the reader along without abrupt stops. Ideas unroll in a single wave rather than discrete pulses.
|
| 26 |
+
* Voice: The narrator speaks as a confident, slightly provocative essayist—an “I” that invites but also instructs. The tone is conversational yet authoritative, blending warm curiosity with sharp assertion.
|
| 27 |
+
* Emotion: A simmering energy underlies the exposition: impatience with received wisdom, admiration for breakthrough communities, and quiet exhilaration at the prospect of contrarian insight.
|
| 28 |
+
* Level of Formality: Elevated yet never stiff; contractions and idiomatic turns coexist with scholarly references, yielding a “familiar academic” register.
|
| 29 |
+
* Syntax and Sentence Variety: Predominantly long, cumulative sentences with nested clauses; occasional short punches provide rhythmical relief.
|
| 30 |
+
|
| 31 |
+
**Lexicon**
|
| 32 |
+
* Diction: Vividly concrete nouns mingle with abstract concepts .
|
| 33 |
+
* Vocabulary Range: Broad, ranging from Renaissance icons to engineering nicknames; no jargon walls, but selective use of niche labels.
|
| 34 |
+
* Repetition and Variation: Re-iterative phrasing builds mantra-like momentum; synonyms and shifting metaphors keep it fresh.
|
| 35 |
+
* Connotation: Positive charge hovers around words of collective genius; skepticism tints references to conformity and eras.
|
| 36 |
+
|
| 37 |
+
**Rhythm and Sound**
|
| 38 |
+
* Prosody: Natural speech cadence, leaning toward oratory. Emphasis lands on climactic clauses, marked by commas and em-dashes.
|
| 39 |
+
* Alliteration/Assonance: Soft alliteration glints without dominating; vowel echoes give sentences a murmuring continuity.
|
| 40 |
+
* Pause/Silence: Em-dashes and parentheses act as conversational pauses, imitating a lecturer who leans in to whisper a caveat.
|
| 41 |
+
|
| 42 |
+
**Rhetorical Devices**
|
| 43 |
+
* Figurative Language: Extensive use of metonymy , synecdoche , and counterfactuals.
|
| 44 |
+
* Emphasis: Rhetorical questions, imperatives , and parenthetical asides focus attention.
|
| 45 |
+
* Contrast: Milan vs. Florence, past vs. present, convention vs. breakthrough.
|
| 46 |
+
* Directness: Straightforward theses, but couched in illustrative asides that feel exploratory rather than blunt.
|
| 47 |
+
|
| 48 |
+
**Tone and Mood**
|
| 49 |
+
* Attitudinal Tone: Encouraging skepticism—politely defiant.
|
| 50 |
+
* Evoked Mood: Thoughtful urgency; the reader feels nudged to step outside the safe consensus.
|
| 51 |
+
* Humor: Dry, understated wit in juxtaposing “genetic Leonardo” with “born near Milan.”
|
| 52 |
+
|
| 53 |
+
**Perspective and Narration**
|
| 54 |
+
* Point of View: First-person but outward-looking; the “I” serves as guide rather than protagonist.
|
| 55 |
+
* Focalization: Alternates between historical panorama and present-day observation.
|
| 56 |
+
* Inclusivity: Uses inclusive “we” and “you” to fold the reader into the inquiry.
|
| 57 |
+
|
| 58 |
+
**Imagery and Sensory Detail**
|
| 59 |
+
* Visual Imagery: City skylines, burned canvases, lab corridors—brief flashes that anchor abstract claims.
|
| 60 |
+
* Abstraction vs. Concreteness: Keeps both in balance; theoretical points rooted in tactile settings.
|
| 61 |
+
</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 |
+
}
|