-
Notifications
You must be signed in to change notification settings - Fork 156
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Deployed 99c2448 to dev with MkDocs 1.6.1 and mike 2.1.3
- Loading branch information
1 parent
a1fd93f
commit 0256707
Showing
179 changed files
with
6,735 additions
and
173 deletions.
There are no files selected for viewing
1,043 changes: 1,043 additions & 0 deletions
1,043
dev/api/models/embedding/embedding_gallery/index.html
Large diffs are not rendered by default.
Oops, something went wrong.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-155 Bytes
(100%)
dev/assets/images/social/api/mixins/runtime_parameters.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-115 Bytes
(100%)
dev/assets/images/social/api/models/embedding/embedding_gallery.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-101 Bytes
(100%)
dev/assets/images/social/api/pipeline/routing_batch_function.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-34 Bytes
(100%)
dev/assets/images/social/api/step_gallery/hugging_face.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Binary file modified
BIN
-103 Bytes
(100%)
dev/assets/images/social/components-gallery/embeddings/index.png
Oops, something went wrong.
Binary file added
BIN
+44.8 KB
dev/assets/images/social/components-gallery/embeddings/llamacppembeddings.png
Oops, something went wrong.
Binary file modified
BIN
-203 Bytes
(100%)
...s/images/social/components-gallery/embeddings/sentencetransformerembeddings.png
Oops, something went wrong.
Binary file modified
BIN
-48 Bytes
(100%)
dev/assets/images/social/components-gallery/embeddings/vllmembeddings.png
Oops, something went wrong.
Oops, something went wrong.
Binary file modified
BIN
-34 Bytes
(100%)
dev/assets/images/social/components-gallery/llms/anthropicllm.png
Oops, something went wrong.
Binary file modified
BIN
-48 Bytes
(100%)
dev/assets/images/social/components-gallery/llms/anyscalellm.png
Oops, something went wrong.
Binary file modified
BIN
-47 Bytes
(100%)
dev/assets/images/social/components-gallery/llms/azureopenaillm.png
Oops, something went wrong.
Binary file modified
BIN
-47 Bytes
(100%)
dev/assets/images/social/components-gallery/llms/clientvllm.png
Oops, something went wrong.
Binary file modified
BIN
-76 Bytes
(100%)
dev/assets/images/social/components-gallery/llms/coherellm.png
Oops, something went wrong.
Binary file modified
BIN
-23 Bytes
(100%)
dev/assets/images/social/components-gallery/llms/groqllm.png
Oops, something went wrong.
Binary file modified
BIN
-53 Bytes
(100%)
dev/assets/images/social/components-gallery/llms/index.png
Oops, something went wrong.
Binary file modified
BIN
-253 Bytes
(99%)
dev/assets/images/social/components-gallery/llms/inferenceendpointsllm.png
Oops, something went wrong.
Binary file modified
BIN
-23 Bytes
(100%)
dev/assets/images/social/components-gallery/llms/litellm.png
Oops, something went wrong.
Binary file modified
BIN
-18 Bytes
(100%)
dev/assets/images/social/components-gallery/llms/llamacppllm.png
Oops, something went wrong.
Binary file modified
BIN
-31 Bytes
(100%)
dev/assets/images/social/components-gallery/llms/mistralllm.png
Oops, something went wrong.
Binary file modified
BIN
-11 Bytes
(100%)
dev/assets/images/social/components-gallery/llms/mixtureofagentsllm.png
Oops, something went wrong.
Binary file modified
BIN
-21 Bytes
(100%)
dev/assets/images/social/components-gallery/llms/ollamallm.png
Oops, something went wrong.
Binary file modified
BIN
+44 Bytes
(100%)
dev/assets/images/social/components-gallery/llms/openaillm.png
Oops, something went wrong.
Binary file modified
BIN
-9 Bytes
(100%)
dev/assets/images/social/components-gallery/llms/togetherllm.png
Oops, something went wrong.
Binary file modified
BIN
-134 Bytes
(100%)
dev/assets/images/social/components-gallery/llms/transformersllm.png
Oops, something went wrong.
Binary file modified
BIN
+55 Bytes
(100%)
dev/assets/images/social/components-gallery/llms/vertexaillm.png
Oops, something went wrong.
Oops, something went wrong.
Binary file modified
BIN
-87 Bytes
(100%)
dev/assets/images/social/components-gallery/steps/apigenexecutionchecker.png
Oops, something went wrong.
Binary file modified
BIN
-269 Bytes
(99%)
dev/assets/images/social/components-gallery/steps/combinecolumns.png
Oops, something went wrong.
Binary file modified
BIN
-194 Bytes
(100%)
dev/assets/images/social/components-gallery/steps/combineoutputs.png
Oops, something went wrong.
Binary file modified
BIN
-228 Bytes
(100%)
dev/assets/images/social/components-gallery/steps/conversationtemplate.png
Oops, something went wrong.
Binary file modified
BIN
-23 Bytes
(100%)
dev/assets/images/social/components-gallery/steps/datasampler.png
Oops, something went wrong.
Binary file modified
BIN
-78 Bytes
(100%)
dev/assets/images/social/components-gallery/steps/dbscan.png
Oops, something went wrong.
Binary file modified
BIN
-20 Bytes
(100%)
dev/assets/images/social/components-gallery/steps/deitafiltering.png
Oops, something went wrong.
Binary file modified
BIN
+46 Bytes
(100%)
dev/assets/images/social/components-gallery/steps/embeddingdedup.png
Oops, something went wrong.
Binary file modified
BIN
-82 Bytes
(100%)
dev/assets/images/social/components-gallery/steps/embeddinggeneration.png
Oops, something went wrong.
Binary file modified
BIN
-54 Bytes
(100%)
dev/assets/images/social/components-gallery/steps/expandcolumns.png
Oops, something went wrong.
Binary file modified
BIN
-138 Bytes
(100%)
dev/assets/images/social/components-gallery/steps/faissnearestneighbour.png
Oops, something went wrong.
Binary file modified
BIN
+35 Bytes
(100%)
dev/assets/images/social/components-gallery/steps/formatchatgenerationdpo.png
Oops, something went wrong.
Binary file modified
BIN
+35 Bytes
(100%)
dev/assets/images/social/components-gallery/steps/formatchatgenerationsft.png
Oops, something went wrong.
Binary file modified
BIN
-158 Bytes
(100%)
dev/assets/images/social/components-gallery/steps/formatprm.png
Oops, something went wrong.
Binary file modified
BIN
-37 Bytes
(100%)
dev/assets/images/social/components-gallery/steps/formattextgenerationdpo.png
Oops, something went wrong.
Binary file modified
BIN
-37 Bytes
(100%)
dev/assets/images/social/components-gallery/steps/formattextgenerationsft.png
Oops, something went wrong.
Binary file modified
BIN
-161 Bytes
(100%)
dev/assets/images/social/components-gallery/steps/groupcolumns.png
Oops, something went wrong.
Binary file modified
BIN
-86 Bytes
(100%)
dev/assets/images/social/components-gallery/steps/index.png
Oops, something went wrong.
Binary file modified
BIN
-94 Bytes
(100%)
dev/assets/images/social/components-gallery/steps/keepcolumns.png
Oops, something went wrong.
Binary file modified
BIN
-324 Bytes
(99%)
dev/assets/images/social/components-gallery/steps/loaddatafromdicts.png
Oops, something went wrong.
Binary file modified
BIN
-271 Bytes
(99%)
dev/assets/images/social/components-gallery/steps/loaddatafromdisk.png
Oops, something went wrong.
Binary file modified
BIN
-100 Bytes
(100%)
dev/assets/images/social/components-gallery/steps/loaddatafromfilesystem.png
Oops, something went wrong.
Binary file modified
BIN
-38 Bytes
(100%)
dev/assets/images/social/components-gallery/steps/loaddatafromhub.png
Oops, something went wrong.
Binary file modified
BIN
-96 Bytes
(100%)
dev/assets/images/social/components-gallery/steps/mergecolumns.png
Oops, something went wrong.
Binary file modified
BIN
+10 Bytes
(100%)
dev/assets/images/social/components-gallery/steps/minhashdedup.png
Oops, something went wrong.
Binary file modified
BIN
-3 Bytes
(100%)
dev/assets/images/social/components-gallery/steps/preferencetoargilla.png
Oops, something went wrong.
Binary file modified
BIN
-117 Bytes
(100%)
dev/assets/images/social/components-gallery/steps/prepareexamples.png
Oops, something went wrong.
Binary file modified
BIN
-69 Bytes
(100%)
dev/assets/images/social/components-gallery/steps/pushtohub.png
Oops, something went wrong.
Binary file modified
BIN
-204 Bytes
(100%)
dev/assets/images/social/components-gallery/steps/rewardmodelscore.png
Oops, something went wrong.
Binary file modified
BIN
+22 Bytes
(100%)
dev/assets/images/social/components-gallery/steps/textgenerationtoargilla.png
Oops, something went wrong.
Binary file modified
BIN
-149 Bytes
(100%)
dev/assets/images/social/components-gallery/steps/truncatetextcolumn.png
Oops, something went wrong.
Binary file modified
BIN
-13 Bytes
(100%)
dev/assets/images/social/components-gallery/steps/umap.png
Oops, something went wrong.
Binary file modified
BIN
+18 Bytes
(100%)
dev/assets/images/social/components-gallery/tasks/apigengenerator.png
Oops, something went wrong.
Binary file modified
BIN
-173 Bytes
(100%)
dev/assets/images/social/components-gallery/tasks/apigensemanticchecker.png
Oops, something went wrong.
Binary file modified
BIN
+55 Bytes
(100%)
dev/assets/images/social/components-gallery/tasks/argillalabeller.png
Oops, something went wrong.
Binary file modified
BIN
+52 Bytes
(100%)
dev/assets/images/social/components-gallery/tasks/bitextretrievalgenerator.png
Oops, something went wrong.
Binary file modified
BIN
-40 Bytes
(100%)
dev/assets/images/social/components-gallery/tasks/chatgeneration.png
Oops, something went wrong.
Binary file modified
BIN
-35 Bytes
(100%)
dev/assets/images/social/components-gallery/tasks/clair.png
Oops, something went wrong.
Binary file modified
BIN
-124 Bytes
(100%)
dev/assets/images/social/components-gallery/tasks/complexityscorer.png
Oops, something went wrong.
Binary file modified
BIN
-147 Bytes
(100%)
dev/assets/images/social/components-gallery/tasks/embeddingtaskgenerator.png
Oops, something went wrong.
Binary file modified
BIN
-111 Bytes
(100%)
dev/assets/images/social/components-gallery/tasks/evolcomplexity.png
Oops, something went wrong.
Binary file modified
BIN
+3 Bytes
(100%)
dev/assets/images/social/components-gallery/tasks/evolcomplexitygenerator.png
Oops, something went wrong.
Binary file modified
BIN
-119 Bytes
(100%)
dev/assets/images/social/components-gallery/tasks/evolinstruct.png
Oops, something went wrong.
Binary file modified
BIN
+15 Bytes
(100%)
dev/assets/images/social/components-gallery/tasks/evolinstructgenerator.png
Oops, something went wrong.
Binary file modified
BIN
-60 Bytes
(100%)
dev/assets/images/social/components-gallery/tasks/evolquality.png
Oops, something went wrong.
Binary file modified
BIN
+38 Bytes
(100%)
dev/assets/images/social/components-gallery/tasks/generateembeddings.png
Oops, something went wrong.
Binary file modified
BIN
+145 Bytes
(100%)
dev/assets/images/social/components-gallery/tasks/generatelongtextmatchingdata.png
Oops, something went wrong.
Binary file modified
BIN
-81 Bytes
(100%)
dev/assets/images/social/components-gallery/tasks/generatesentencepair.png
Oops, something went wrong.
Binary file modified
BIN
+13 Bytes
(100%)
...assets/images/social/components-gallery/tasks/generateshorttextmatchingdata.png
Oops, something went wrong.
Binary file modified
BIN
-42 Bytes
(100%)
...ssets/images/social/components-gallery/tasks/generatetextclassificationdata.png
Oops, something went wrong.
Binary file modified
BIN
-124 Bytes
(100%)
dev/assets/images/social/components-gallery/tasks/generatetextretrievaldata.png
Oops, something went wrong.
Binary file modified
BIN
-151 Bytes
(100%)
dev/assets/images/social/components-gallery/tasks/genstruct.png
Oops, something went wrong.
Binary file modified
BIN
-21 Bytes
(100%)
dev/assets/images/social/components-gallery/tasks/index.png
Oops, something went wrong.
Binary file modified
BIN
-215 Bytes
(100%)
dev/assets/images/social/components-gallery/tasks/instructionbacktranslation.png
Oops, something went wrong.
Binary file modified
BIN
+41 Bytes
(100%)
dev/assets/images/social/components-gallery/tasks/magpie.png
Oops, something went wrong.
Binary file modified
BIN
+85 Bytes
(100%)
dev/assets/images/social/components-gallery/tasks/magpiegenerator.png
Oops, something went wrong.
Binary file modified
BIN
-130 Bytes
(100%)
dev/assets/images/social/components-gallery/tasks/mathshepherdcompleter.png
Oops, something went wrong.
Binary file modified
BIN
-31 Bytes
(100%)
dev/assets/images/social/components-gallery/tasks/mathshepherdgenerator.png
Oops, something went wrong.
Binary file modified
BIN
+72 Bytes
(100%)
dev/assets/images/social/components-gallery/tasks/monolingualtripletgenerator.png
Oops, something went wrong.
Binary file modified
BIN
-74 Bytes
(100%)
dev/assets/images/social/components-gallery/tasks/pairrm.png
Oops, something went wrong.
Binary file modified
BIN
-6 Bytes
(100%)
dev/assets/images/social/components-gallery/tasks/prometheuseval.png
Oops, something went wrong.
Binary file modified
BIN
-213 Bytes
(100%)
dev/assets/images/social/components-gallery/tasks/qualityscorer.png
Oops, something went wrong.
Binary file modified
BIN
-181 Bytes
(100%)
dev/assets/images/social/components-gallery/tasks/selfinstruct.png
Oops, something went wrong.
Binary file modified
BIN
-162 Bytes
(100%)
dev/assets/images/social/components-gallery/tasks/structuredgeneration.png
Oops, something went wrong.
Binary file modified
BIN
-263 Bytes
(99%)
dev/assets/images/social/components-gallery/tasks/textclassification.png
Oops, something went wrong.
Binary file modified
BIN
-38 Bytes
(100%)
dev/assets/images/social/components-gallery/tasks/textclustering.png
Oops, something went wrong.
Binary file modified
BIN
-18 Bytes
(100%)
dev/assets/images/social/components-gallery/tasks/textgeneration.png
Oops, something went wrong.
Binary file modified
BIN
+39 Bytes
(100%)
dev/assets/images/social/components-gallery/tasks/textgenerationwithimage.png
Oops, something went wrong.
Binary file modified
BIN
-197 Bytes
(100%)
dev/assets/images/social/components-gallery/tasks/ultrafeedback.png
Oops, something went wrong.
Binary file modified
BIN
-61 Bytes
(100%)
dev/assets/images/social/components-gallery/tasks/urial.png
Oops, something went wrong.
Oops, something went wrong.
Binary file modified
BIN
-212 Bytes
(100%)
dev/assets/images/social/sections/community/contributor.png
Oops, something went wrong.
Binary file modified
BIN
-168 Bytes
(100%)
dev/assets/images/social/sections/community/developer_documentation.png
Oops, something went wrong.
Oops, something went wrong.
Binary file modified
BIN
-366 Bytes
(99%)
dev/assets/images/social/sections/community/popular_issues.png
Oops, something went wrong.
Oops, something went wrong.
Binary file modified
BIN
-161 Bytes
(100%)
dev/assets/images/social/sections/getting_started/installation.png
Oops, something went wrong.
Binary file modified
BIN
-178 Bytes
(100%)
dev/assets/images/social/sections/getting_started/quickstart.png
Oops, something went wrong.
Binary file modified
BIN
+43 Bytes
(100%)
dev/assets/images/social/sections/how_to_guides/advanced/argilla.png
Oops, something went wrong.
Binary file modified
BIN
-363 Bytes
(99%)
...s/images/social/sections/how_to_guides/advanced/assigning_resources_to_step.png
Oops, something went wrong.
Binary file modified
BIN
-153 Bytes
(100%)
dev/assets/images/social/sections/how_to_guides/advanced/caching.png
Oops, something went wrong.
Binary file modified
BIN
+44 Bytes
(100%)
dev/assets/images/social/sections/how_to_guides/advanced/cli/index.png
Oops, something went wrong.
Binary file modified
BIN
-218 Bytes
(100%)
dev/assets/images/social/sections/how_to_guides/advanced/distiset.png
Oops, something went wrong.
Binary file modified
BIN
-497 Bytes
(99%)
dev/assets/images/social/sections/how_to_guides/advanced/fs_to_pass_data.png
Oops, something went wrong.
Binary file modified
BIN
-363 Bytes
(99%)
...ges/social/sections/how_to_guides/advanced/load_groups_and_execution_stages.png
Oops, something went wrong.
Binary file modified
BIN
-90 Bytes
(100%)
...sets/images/social/sections/how_to_guides/advanced/offline_batch_generation.png
Oops, something went wrong.
Binary file modified
BIN
-478 Bytes
(99%)
dev/assets/images/social/sections/how_to_guides/advanced/pipeline_requirements.png
Oops, something went wrong.
Binary file modified
BIN
+30 Bytes
(100%)
...ages/social/sections/how_to_guides/advanced/saving_step_generated_artifacts.png
Oops, something went wrong.
Binary file modified
BIN
-152 Bytes
(100%)
dev/assets/images/social/sections/how_to_guides/advanced/scaling_with_ray.png
Oops, something went wrong.
Binary file modified
BIN
-256 Bytes
(100%)
...sets/images/social/sections/how_to_guides/advanced/serving_an_llm_for_reuse.png
Oops, something went wrong.
Binary file modified
BIN
-58 Bytes
(100%)
dev/assets/images/social/sections/how_to_guides/advanced/structured_generation.png
Oops, something went wrong.
Binary file modified
BIN
+8 Bytes
(100%)
dev/assets/images/social/sections/how_to_guides/basic/llm/index.png
Oops, something went wrong.
Binary file modified
BIN
-219 Bytes
(100%)
dev/assets/images/social/sections/how_to_guides/basic/pipeline/index.png
Oops, something went wrong.
Binary file modified
BIN
-47 Bytes
(100%)
dev/assets/images/social/sections/how_to_guides/basic/step/generator_step.png
Oops, something went wrong.
Binary file modified
BIN
-190 Bytes
(100%)
dev/assets/images/social/sections/how_to_guides/basic/step/global_step.png
Oops, something went wrong.
Binary file modified
BIN
-493 Bytes
(99%)
dev/assets/images/social/sections/how_to_guides/basic/step/index.png
Oops, something went wrong.
Binary file modified
BIN
-180 Bytes
(100%)
dev/assets/images/social/sections/how_to_guides/basic/task/generator_task.png
Oops, something went wrong.
Binary file modified
BIN
-205 Bytes
(100%)
dev/assets/images/social/sections/how_to_guides/basic/task/index.png
Oops, something went wrong.
Oops, something went wrong.
Binary file modified
BIN
-237 Bytes
(100%)
...ages/social/sections/pipeline_samples/examples/benchmarking_with_distilabel.png
Oops, something went wrong.
Binary file modified
BIN
-486 Bytes
(99%)
dev/assets/images/social/sections/pipeline_samples/examples/exam_questions.png
Oops, something went wrong.
Binary file modified
BIN
-670 Bytes
(99%)
...ages/social/sections/pipeline_samples/examples/fine_personas_social_network.png
Oops, something went wrong.
Binary file modified
BIN
-247 Bytes
(100%)
...ts/images/social/sections/pipeline_samples/examples/llama_cpp_with_outlines.png
Oops, something went wrong.
Binary file modified
BIN
-272 Bytes
(100%)
.../images/social/sections/pipeline_samples/examples/mistralai_with_instructor.png
Oops, something went wrong.
Binary file modified
BIN
-251 Bytes
(100%)
...images/social/sections/pipeline_samples/examples/text_generation_with_image.png
Oops, something went wrong.
Binary file modified
BIN
-179 Bytes
(100%)
dev/assets/images/social/sections/pipeline_samples/index.png
Oops, something went wrong.
Binary file modified
BIN
-74 Bytes
(100%)
dev/assets/images/social/sections/pipeline_samples/papers/apigen.png
Oops, something went wrong.
Binary file modified
BIN
-35 Bytes
(100%)
dev/assets/images/social/sections/pipeline_samples/papers/clair.png
Oops, something went wrong.
Binary file modified
BIN
-149 Bytes
(100%)
dev/assets/images/social/sections/pipeline_samples/papers/deepseek_prover.png
Oops, something went wrong.
Binary file modified
BIN
-38 Bytes
(100%)
dev/assets/images/social/sections/pipeline_samples/papers/deita.png
Oops, something went wrong.
Binary file modified
BIN
-376 Bytes
(99%)
.../images/social/sections/pipeline_samples/papers/instruction_backtranslation.png
Oops, something went wrong.
Binary file modified
BIN
-123 Bytes
(100%)
dev/assets/images/social/sections/pipeline_samples/papers/math_shepherd.png
Oops, something went wrong.
Binary file modified
BIN
-129 Bytes
(100%)
dev/assets/images/social/sections/pipeline_samples/papers/prometheus.png
Oops, something went wrong.
Binary file modified
BIN
-197 Bytes
(100%)
dev/assets/images/social/sections/pipeline_samples/papers/ultrafeedback.png
Oops, something went wrong.
Binary file modified
BIN
-145 Bytes
(100%)
...sets/images/social/sections/pipeline_samples/tutorials/GenerateSentencePair.png
Oops, something went wrong.
Binary file modified
BIN
-290 Bytes
(99%)
...ts/images/social/sections/pipeline_samples/tutorials/clean_existing_dataset.png
Oops, something went wrong.
Binary file modified
BIN
-115 Bytes
(100%)
...ages/social/sections/pipeline_samples/tutorials/generate_preference_dataset.png
Oops, something went wrong.
Binary file modified
BIN
-106 Bytes
(100%)
.../images/social/sections/pipeline_samples/tutorials/generate_textcat_dataset.png
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
138 changes: 138 additions & 0 deletions
138
dev/components-gallery/embeddings/llamacppembeddings.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,138 @@ | ||
--- | ||
hide: | ||
- navigation | ||
--- | ||
# LlamaCppEmbeddings | ||
|
||
|
||
`LlamaCpp` library implementation for embedding generation. | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
### Attributes | ||
|
||
- **model_name**: contains the name of the GGUF quantized model, compatible with the installed version of the `llama.cpp` Python bindings. | ||
|
||
- **model_path**: contains the path to the GGUF quantized model, compatible with the installed version of the `llama.cpp` Python bindings. | ||
|
||
- **repo_id**: the Hugging Face Hub repository id. | ||
|
||
- **verbose**: whether to print verbose output. Defaults to `False`. | ||
|
||
- **n_gpu_layers**: number of layers to run on the GPU. Defaults to `-1` (use the GPU if available). | ||
|
||
- **disable_cuda_device_placement**: whether to disable CUDA device placement. Defaults to `True`. | ||
|
||
- **normalize_embeddings**: whether to normalize the embeddings. Defaults to `False`. | ||
|
||
- **seed**: RNG seed, -1 for random | ||
|
||
- **n_ctx**: Text context, 0 = from model | ||
|
||
- **n_batch**: Prompt processing maximum batch size | ||
|
||
- **extra_kwargs**: additional dictionary of keyword arguments that will be passed to the `Llama` class of `llama_cpp` library. Defaults to `{}`. | ||
|
||
|
||
|
||
|
||
|
||
### Runtime Parameters | ||
|
||
- **n_gpu_layers**: the number of layers to use for the GPU. Defaults to `-1`. | ||
|
||
- **verbose**: whether to print verbose output. Defaults to `False`. | ||
|
||
- **normalize_embeddings**: whether to normalize the embeddings. Defaults to `False`. | ||
|
||
- **extra_kwargs**: additional dictionary of keyword arguments that will be passed to the `Llama` class of `llama_cpp` library. Defaults to `{}`. | ||
|
||
|
||
|
||
|
||
### Examples | ||
|
||
|
||
#### Generate sentence embeddings using a local model | ||
```python | ||
from pathlib import Path | ||
from distilabel.models.embeddings import LlamaCppEmbeddings | ||
|
||
# You can follow along this example downloading the following model running the following | ||
# command in the terminal, that will download the model to the `Downloads` folder: | ||
# curl -L -o ~/Downloads/all-MiniLM-L6-v2-Q2_K.gguf https://huggingface.co/second-state/All-MiniLM-L6-v2-Embedding-GGUF/resolve/main/all-MiniLM-L6-v2-Q2_K.gguf | ||
|
||
model_path = "Downloads/" | ||
model = "all-MiniLM-L6-v2-Q2_K.gguf" | ||
embeddings = LlamaCppEmbeddings( | ||
model=model, | ||
model_path=str(Path.home() / model_path), | ||
) | ||
|
||
embeddings.load() | ||
|
||
results = embeddings.encode(inputs=["distilabel is awesome!", "and Argilla!"]) | ||
print(results) | ||
embeddings.unload() | ||
``` | ||
|
||
#### Generate sentence embeddings using a HuggingFace Hub model | ||
```python | ||
from distilabel.models.embeddings import LlamaCppEmbeddings | ||
# You need to set environment variable to download private model to the local machine | ||
|
||
repo_id = "second-state/All-MiniLM-L6-v2-Embedding-GGUF" | ||
model = "all-MiniLM-L6-v2-Q2_K.gguf" | ||
embeddings = LlamaCppEmbeddings(model=model,repo_id=repo_id) | ||
|
||
embeddings.load() | ||
|
||
results = embeddings.encode(inputs=["distilabel is awesome!", "and Argilla!"]) | ||
print(results) | ||
embeddings.unload() | ||
# [ | ||
# [-0.05447685346007347, -0.01623094454407692, ...], | ||
# [4.4889533455716446e-05, 0.044016145169734955, ...], | ||
# ] | ||
``` | ||
|
||
#### Generate sentence embeddings with cpu | ||
```python | ||
from pathlib import Path | ||
from distilabel.models.embeddings import LlamaCppEmbeddings | ||
|
||
# You can follow along this example downloading the following model running the following | ||
# command in the terminal, that will download the model to the `Downloads` folder: | ||
# curl -L -o ~/Downloads/all-MiniLM-L6-v2-Q2_K.gguf https://huggingface.co/second-state/All-MiniLM-L6-v2-Embedding-GGUF/resolve/main/all-MiniLM-L6-v2-Q2_K.gguf | ||
|
||
model_path = "Downloads/" | ||
model = "all-MiniLM-L6-v2-Q2_K.gguf" | ||
embeddings = LlamaCppEmbeddings( | ||
model=model, | ||
model_path=str(Path.home() / model_path), | ||
n_gpu_layers=0, | ||
disable_cuda_device_placement=True, | ||
) | ||
|
||
embeddings.load() | ||
|
||
results = embeddings.encode(inputs=["distilabel is awesome!", "and Argilla!"]) | ||
print(results) | ||
embeddings.unload() | ||
# [ | ||
# [-0.05447685346007347, -0.01623094454407692, ...], | ||
# [4.4889533455716446e-05, 0.044016145169734955, ...], | ||
# ] | ||
``` | ||
|
||
|
||
|
||
|
||
### References | ||
|
||
- [Offline inference embeddings](https://llama-cpp-python.readthedocs.io/en/stable/#embeddings) | ||
|
Oops, something went wrong.