初始化项目,由ModelHub XC社区提供模型
Model: Kukedlc/NeuralArjuna-7B-DT Source: Original Platform
This commit is contained in:
276
README.md
Normal file
276
README.md
Normal file
@@ -0,0 +1,276 @@
|
||||
---
|
||||
license: apache-2.0
|
||||
tags:
|
||||
- merge
|
||||
- mergekit
|
||||
- lazymergekit
|
||||
- yam-peleg/Experiment26-7B
|
||||
- Gille/StrangeMerges_32-7B-slerp
|
||||
- MSL7/INEX12-7b
|
||||
- automerger/YamShadow-7B
|
||||
- Kukedlc/NeuralSirKrishna-7b
|
||||
base_model:
|
||||
- yam-peleg/Experiment26-7B
|
||||
- Gille/StrangeMerges_32-7B-slerp
|
||||
- MSL7/INEX12-7b
|
||||
- automerger/YamShadow-7B
|
||||
- Kukedlc/NeuralSirKrishna-7b
|
||||
model-index:
|
||||
- name: NeuralArjuna-7B-DT
|
||||
results:
|
||||
- task:
|
||||
type: text-generation
|
||||
name: Text Generation
|
||||
dataset:
|
||||
name: AI2 Reasoning Challenge (25-Shot)
|
||||
type: ai2_arc
|
||||
config: ARC-Challenge
|
||||
split: test
|
||||
args:
|
||||
num_few_shot: 25
|
||||
metrics:
|
||||
- type: acc_norm
|
||||
value: 73.12
|
||||
name: normalized accuracy
|
||||
source:
|
||||
url: https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard?query=Kukedlc/NeuralArjuna-7B-DT
|
||||
name: Open LLM Leaderboard
|
||||
- task:
|
||||
type: text-generation
|
||||
name: Text Generation
|
||||
dataset:
|
||||
name: HellaSwag (10-Shot)
|
||||
type: hellaswag
|
||||
split: validation
|
||||
args:
|
||||
num_few_shot: 10
|
||||
metrics:
|
||||
- type: acc_norm
|
||||
value: 88.97
|
||||
name: normalized accuracy
|
||||
source:
|
||||
url: https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard?query=Kukedlc/NeuralArjuna-7B-DT
|
||||
name: Open LLM Leaderboard
|
||||
- task:
|
||||
type: text-generation
|
||||
name: Text Generation
|
||||
dataset:
|
||||
name: MMLU (5-Shot)
|
||||
type: cais/mmlu
|
||||
config: all
|
||||
split: test
|
||||
args:
|
||||
num_few_shot: 5
|
||||
metrics:
|
||||
- type: acc
|
||||
value: 64.63
|
||||
name: accuracy
|
||||
source:
|
||||
url: https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard?query=Kukedlc/NeuralArjuna-7B-DT
|
||||
name: Open LLM Leaderboard
|
||||
- task:
|
||||
type: text-generation
|
||||
name: Text Generation
|
||||
dataset:
|
||||
name: TruthfulQA (0-shot)
|
||||
type: truthful_qa
|
||||
config: multiple_choice
|
||||
split: validation
|
||||
args:
|
||||
num_few_shot: 0
|
||||
metrics:
|
||||
- type: mc2
|
||||
value: 76.68
|
||||
source:
|
||||
url: https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard?query=Kukedlc/NeuralArjuna-7B-DT
|
||||
name: Open LLM Leaderboard
|
||||
- task:
|
||||
type: text-generation
|
||||
name: Text Generation
|
||||
dataset:
|
||||
name: Winogrande (5-shot)
|
||||
type: winogrande
|
||||
config: winogrande_xl
|
||||
split: validation
|
||||
args:
|
||||
num_few_shot: 5
|
||||
metrics:
|
||||
- type: acc
|
||||
value: 85.24
|
||||
name: accuracy
|
||||
source:
|
||||
url: https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard?query=Kukedlc/NeuralArjuna-7B-DT
|
||||
name: Open LLM Leaderboard
|
||||
- task:
|
||||
type: text-generation
|
||||
name: Text Generation
|
||||
dataset:
|
||||
name: GSM8k (5-shot)
|
||||
type: gsm8k
|
||||
config: main
|
||||
split: test
|
||||
args:
|
||||
num_few_shot: 5
|
||||
metrics:
|
||||
- type: acc
|
||||
value: 70.81
|
||||
name: accuracy
|
||||
source:
|
||||
url: https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard?query=Kukedlc/NeuralArjuna-7B-DT
|
||||
name: Open LLM Leaderboard
|
||||
---
|
||||
|
||||
# NeuralArjuna-7B-DT
|
||||
|
||||

|
||||
|
||||
NeuralArjuna-7B-DT is a merge of the following models using [LazyMergekit](https://colab.research.google.com/drive/1obulZ1ROXHjYLn6PPZJwRR6GzgQogxxb?usp=sharing):
|
||||
* [yam-peleg/Experiment26-7B](https://huggingface.co/yam-peleg/Experiment26-7B)
|
||||
* [Gille/StrangeMerges_32-7B-slerp](https://huggingface.co/Gille/StrangeMerges_32-7B-slerp)
|
||||
* [MSL7/INEX12-7b](https://huggingface.co/MSL7/INEX12-7b)
|
||||
* [automerger/YamShadow-7B](https://huggingface.co/automerger/YamShadow-7B)
|
||||
* [Kukedlc/NeuralSirKrishna-7b](https://huggingface.co/Kukedlc/NeuralSirKrishna-7b)
|
||||
|
||||
## 🧩 Configuration
|
||||
|
||||
```yaml
|
||||
models:
|
||||
- model: liminerity/M7-7b
|
||||
# no parameters necessary for base model
|
||||
- model: yam-peleg/Experiment26-7B
|
||||
parameters:
|
||||
weight: 0.2
|
||||
density: 0.66
|
||||
- model: Gille/StrangeMerges_32-7B-slerp
|
||||
parameters:
|
||||
weight: 0.2
|
||||
density: 0.55
|
||||
- model: MSL7/INEX12-7b
|
||||
parameters:
|
||||
weight: 0.2
|
||||
density: 0.33
|
||||
- model: automerger/YamShadow-7B
|
||||
parameters:
|
||||
weight: 0.2
|
||||
density: 0.66
|
||||
- model: Kukedlc/NeuralSirKrishna-7b
|
||||
parameters:
|
||||
weight: 0.2
|
||||
density: 0.66
|
||||
merge_method: dare_ties
|
||||
base_model: liminerity/M7-7b
|
||||
|
||||
parameters:
|
||||
int8_mask: true
|
||||
normalize: true
|
||||
dtype: bfloat16
|
||||
```
|
||||
|
||||
## 💻 Usage
|
||||
|
||||
```python
|
||||
!pip install -qU transformers accelerate
|
||||
|
||||
from transformers import AutoTokenizer
|
||||
import transformers
|
||||
import torch
|
||||
|
||||
model = "Kukedlc/NeuralArjuna-7B-DT"
|
||||
messages = [{"role": "user", "content": "What is a large language model?"}]
|
||||
|
||||
tokenizer = AutoTokenizer.from_pretrained(model)
|
||||
prompt = tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
|
||||
pipeline = transformers.pipeline(
|
||||
"text-generation",
|
||||
model=model,
|
||||
torch_dtype=torch.float16,
|
||||
device_map="auto",
|
||||
)
|
||||
|
||||
outputs = pipeline(prompt, max_new_tokens=256, do_sample=True, temperature=0.7, top_k=50, top_p=0.95)
|
||||
print(outputs[0]["generated_text"])
|
||||
```
|
||||
|
||||
|
||||
# Example
|
||||
|
||||
```
|
||||
I want you to generate a theory that unites quantum mechanics with the theory of relativity and cosmic consciousness. Give a large a detailed response
|
||||
|
||||
In embarking upon a journey to weave together quantum mechanics, relativity, and the enigmatic realms of cosmic consciousness, we tread upon an intellectual
|
||||
landscape rife with challenges and enigmas. Our sojourn shall be a delicate ballet between the concrete and the abstract, the tangible and the speculative.
|
||||
The resultant tapestry will be neither a definitive, final statement, nor a mere collection of disparate ideas. Instead, we will craft a narrative that strives to bridge
|
||||
the chasms of understanding between these disparate scientific and philosophical realms, in hopes of illuminating a path towards a more comprehensive understanding of the
|
||||
universe and our place within it.
|
||||
|
||||
To commence our odyssey, we must first address the foundational pillars of the scientific theories we seek to unite.
|
||||
|
||||
Quantum Mechanics
|
||||
Quantum mechanics, the theory governing the microscopic realm, has long confounded the human intellect. It is a realm of probabilities, entanglement,
|
||||
and superposition—a world where particles can behave both as particles and waves, where actions at a distance are not only possible but ubiquitous,
|
||||
and where the mere act of observation alters the outcome of an experiment.
|
||||
|
||||
Albert Einstein's famed retort, "God does not play dice," exemplifies the tensions between the counter-intuitive world of quantum mechanics and
|
||||
the more deterministic Newtonian worldview. However, quantum mechanics has withstood the test of time, demonstrating its indispensability to the progress of modern physics
|
||||
|
||||
Theory of Relativity
|
||||
The theory of relativity, comprising special and general relativity, has profoundly altered our understanding of the macroscopic universe.
|
||||
Special relativity, Einstein's first foray into this domain, introduced the concept of space-time, where the fabric of the universe is both a geometrical construct
|
||||
and a medium for the propagation of electromagnetic phenomena.
|
||||
|
||||
Further, special relativity established the idea of relative motion, where there is no absolute reference frame, and the speed of light in a vacuum is an invariant constant.
|
||||
General relativity expanded this framework, postulating that gravity is a curvature of the space-time continuum, caused by the presence of mass and energy.
|
||||
This theory, while more complex, has been empirically validated through its predictions of phenomena such as gravitational lensing and the bending of light near massive
|
||||
objects.
|
||||
|
||||
Cosmic Consciousness
|
||||
The concept of cosmic consciousness—or the idea of a unified, interconnected consciousness pervading the cosmos—is a philosophical speculation,
|
||||
one that transcends the traditional scientific paradigm. It is a metaphysical exploration, a contemplation of the possible nature of our collective human consciousness,
|
||||
its interplay with the universe, and the implications of such a state of awareness.
|
||||
|
||||
The integration of these three distinct realms poses a formidable challenge. Quantum mechanics and the theory of relativity have proven their efficacy
|
||||
in the realm of empirical science, while cosmic consciousness remains the province of metaphysical musings. However, the human propensity to synthesize seemingly disparate
|
||||
ideas has engendered a multitude of theories, each striving to forge a cohesive narrative from the cacophony of scientific and philosophical thought.
|
||||
|
||||
One such approach, the 'Quantum Mind,' posits a direct link between the quantum phenomena and the workings of the human brain.
|
||||
This theory, championed by Roger Penrose and Stuart Hameroff, suggests that the microtubules within brain neurons,
|
||||
operating at the quantum scale, could serve as the neural correlates of consciousness. While intriguing,
|
||||
this hypothesis has yet to garner widespread acceptance, as the veracity of quantum effects within biological systems remains the subject of intense debate.
|
||||
|
||||
Another avenue of exploration involves the notion of 'Quantum Biology.' Here, the focus shifts to the potential role of quantum phenomena in biology,
|
||||
particularly in processes such as photosynthesis, vision, and magnetoreception.
|
||||
While the presence of quantum effects in biological systems is becoming increasingly plausible,
|
||||
the idea of a 'quantum biology' remains a nascent and highly speculative field.
|
||||
|
||||
The 'Holographic Universe' theory, espoused by physicist and cosmologist David Bohm,
|
||||
posits the existence of a deeper, underlying reality, one in which the universe is a holographic projection of a more fundamental,
|
||||
non-local substrate. This model, while offering an intriguing synthesis of quantum mechanics, relativity, and the concept of a cosmic consciousness,
|
||||
remains a highly speculative and unproven hypothesis.
|
||||
|
||||
In our quest to weave together these disparate threads, we must acknowledge the limitations of our current understanding. As it stands,
|
||||
the principles of quantum mechanics and the theory of relativity remain resolutely grounded in the empirical world, while the concept of cosmic consciousness
|
||||
traverses the murky waters of metaphysics and speculation.
|
||||
|
||||
To forge a more unified understanding, we must continue to advance our scientific knowledge, to push the frontiers of both empirical and philosophical inquiry.
|
||||
Only through the synthesis of new data, the refinement of our scientific models, and the continued evolution of our collective human consciousness,
|
||||
will we be able to construct a narrative that bridges the seemingly insurmountable gulf between the microscopic, the macroscopic, and the metaphysical.
|
||||
|
||||
In conclusion, the unification of quantum mechanics, relativity, and cosmic consciousness is a daunting task, requiring a delicate balance between the
|
||||
concrete and the abstract, the empirical and the speculative. While the journey has thus far led us to the fringes of scientific understanding,
|
||||
we must continue to explore these frontiers, drawing upon the rich tapestry of human knowledge, in the hope of forging a more comprehensive narrative of our cosmos and
|
||||
our place within it.
|
||||
```
|
||||
|
||||
# [Open LLM Leaderboard Evaluation Results](https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard)
|
||||
Detailed results can be found [here](https://huggingface.co/datasets/open-llm-leaderboard/details_Kukedlc__NeuralArjuna-7B-DT)
|
||||
|
||||
| Metric |Value|
|
||||
|---------------------------------|----:|
|
||||
|Avg. |76.58|
|
||||
|AI2 Reasoning Challenge (25-Shot)|73.12|
|
||||
|HellaSwag (10-Shot) |88.97|
|
||||
|MMLU (5-Shot) |64.63|
|
||||
|TruthfulQA (0-shot) |76.68|
|
||||
|Winogrande (5-shot) |85.24|
|
||||
|GSM8k (5-shot) |70.81|
|
||||
|
||||
Reference in New Issue
Block a user