You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+4-2Lines changed: 4 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,6 +11,8 @@ The project differentiates between 3 levels of contributors:
11
11
> [!IMPORTANT]
12
12
> This project does **not** accept pull requests that are fully or predominantly AI-generated. AI tools may be utilized solely in an assistive capacity.
13
13
>
14
+
> Repeated violations of this policy may result in your account being permanently banned from contributing to the project.
15
+
>
14
16
> Detailed information regarding permissible and restricted uses of AI can be found in the [AGENTS.md](AGENTS.md) file.
15
17
16
18
Code that is initially generated by AI and subsequently edited will still be considered AI-generated. AI assistance is permissible only when the majority of the code is authored by a human contributor, with AI employed exclusively for corrections or to expand on verbose modifications that the contributor has already conceptualized (e.g., generating repeated lines with minor variations).
@@ -61,10 +63,10 @@ After submitting your PR:
61
63
- When merging a PR, make sure you have a good understanding of the changes
62
64
- Be mindful of maintenance: most of the work going into a feature happens after the PR is merged. If the PR author is not committed to contribute long-term, someone else needs to take responsibility (you)
63
65
64
-
Maintainers reserve the right to decline review or close pull requests for any reason, particularly under any of the following conditions:
66
+
Maintainers reserve the right to decline review or close pull requests for any reason, without any questions, particularly under any of the following conditions:
65
67
- The proposed change is already mentioned in the roadmap or an existing issue, and it has been assigned to someone.
66
68
- The pull request duplicates an existing one.
67
-
- The contributor fails to adhere to this contributing guide.
69
+
- The contributor fails to adhere to this contributing guide or the AI policy.
"Hugging Face model repository; quant is optional, case-insensitive, default to Q4_K_M, or falls back to the first file in the repo if Q4_K_M doesn't exist.\n"
2585
2585
"mmproj is also downloaded automatically if available. to disable, add --no-mmproj\n"
Copy file name to clipboardExpand all lines: convert_hf_to_gguf.py
+23-14Lines changed: 23 additions & 14 deletions
Original file line number
Diff line number
Diff line change
@@ -31,10 +31,10 @@
31
31
from gguf.vocab import MistralTokenizerType, MistralVocab
32
32
33
33
try:
34
-
from mistral_common.tokens.tokenizers.base import TokenizerVersion # pyright: ignore[reportMissingImports]
35
-
from mistral_common.tokens.tokenizers.multimodal import DATASET_MEAN as _MISTRAL_COMMON_DATASET_MEAN, DATASET_STD as _MISTRAL_COMMON_DATASET_STD # pyright: ignore[reportMissingImports]
36
-
from mistral_common.tokens.tokenizers.tekken import Tekkenizer # pyright: ignore[reportMissingImports]
37
-
from mistral_common.tokens.tokenizers.sentencepiece import ( # pyright: ignore[reportMissingImports]
34
+
from mistral_common.tokens.tokenizers.base import TokenizerVersion # type: ignore[import-not-found]
35
+
from mistral_common.tokens.tokenizers.multimodal import DATASET_MEAN as _MISTRAL_COMMON_DATASET_MEAN, DATASET_STD as _MISTRAL_COMMON_DATASET_STD # type: ignore[import-not-found]
36
+
from mistral_common.tokens.tokenizers.tekken import Tekkenizer # type: ignore[import-not-found]
37
+
from mistral_common.tokens.tokenizers.sentencepiece import ( # type: ignore[import-not-found]
0 commit comments