Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 8 additions & 4 deletions bert_embeddings/function.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,29 +2,33 @@ kind: remote
metadata:
name: bert-embeddings
tag: ''
hash: 57a2ce8e0da1f6e813a8649e9ea6fcbb69a1ce5f
hash: ecf6647fe4716e0df54ce50278b735034536a568
project: ''
labels:
framework: pytorch
categories:
- huggingface
- machine-learning
- data-preparation
- pytorch
spec:
command: ''
args: []
image: mlrun/mlrun
build:
functionSourceCode: IyBDb3B5cmlnaHQgMjAxOSBJZ3VhemlvCiMKIyBMaWNlbnNlZCB1bmRlciB0aGUgQXBhY2hlIExpY2Vuc2UsIFZlcnNpb24gMi4wICh0aGUgIkxpY2Vuc2UiKTsKIyB5b3UgbWF5IG5vdCB1c2UgdGhpcyBmaWxlIGV4Y2VwdCBpbiBjb21wbGlhbmNlIHdpdGggdGhlIExpY2Vuc2UuCiMgWW91IG1heSBvYnRhaW4gYSBjb3B5IG9mIHRoZSBMaWNlbnNlIGF0CiMKIyAgICAgaHR0cDovL3d3dy5hcGFjaGUub3JnL2xpY2Vuc2VzL0xJQ0VOU0UtMi4wCiMKIyBVbmxlc3MgcmVxdWlyZWQgYnkgYXBwbGljYWJsZSBsYXcgb3IgYWdyZWVkIHRvIGluIHdyaXRpbmcsIHNvZnR3YXJlCiMgZGlzdHJpYnV0ZWQgdW5kZXIgdGhlIExpY2Vuc2UgaXMgZGlzdHJpYnV0ZWQgb24gYW4gIkFTIElTIiBCQVNJUywKIyBXSVRIT1VUIFdBUlJBTlRJRVMgT1IgQ09ORElUSU9OUyBPRiBBTlkgS0lORCwgZWl0aGVyIGV4cHJlc3Mgb3IgaW1wbGllZC4KIyBTZWUgdGhlIExpY2Vuc2UgZm9yIHRoZSBzcGVjaWZpYyBsYW5ndWFnZSBnb3Z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lZGRpbmdzKQo=
commands: []
code_origin: https://github.com/aviaIguazio/functions.git#a1c9940e4c2420c88063768b4038e29b1f4e37a6:/Users/Avi_Asulin/PycharmProjects/mlrun/functions/bert_embeddings/bert_embeddings.py
origin_filename: /Users/Avi_Asulin/PycharmProjects/mlrun/functions/bert_embeddings/bert_embeddings.py
code_origin: ''
origin_filename: ''
requirements:
- torch
description: Get BERT based embeddings for given text
default_handler: ''
disable_auto_mount: false
clone_target_dir: ''
env: []
env:
- name: MLRUN_HTTPDB__NUCLIO__EXPLICIT_ACK
value: enabled
priority_class_name: ''
preemption_mode: prevent
min_replicas: 1
Expand Down
4 changes: 3 additions & 1 deletion bert_embeddings/item.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
apiVersion: v1
categories:
- huggingface
- machine-learning
- data-preparation
- pytorch
description: Get BERT based embeddings for given text
doc: ''
example: bert_embeddings.ipynb
Expand All @@ -23,4 +25,4 @@ spec:
requirements:
- torch
url: ''
version: 1.2.0
version: 1.3.0
4 changes: 3 additions & 1 deletion hugging_face_classifier_trainer/function.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,13 @@ kind: job
metadata:
name: hugging-face-classifier-trainer
tag: ''
hash: e8113e81f04c96fc9a8a94e717dea81ee3e05a18
hash: f9d8aa4a2c66e24fa418bb163829adc3e2ada06c
project: ''
labels:
author: davids
categories:
- deep-learning
- huggingface
- machine-learning
- model-training
spec:
Expand Down
4 changes: 3 additions & 1 deletion hugging_face_classifier_trainer/item.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
apiVersion: v1
categories:
- deep-learning
- huggingface
- machine-learning
- model-training
description: Automatic train and optimize functions for HuggingFace framework
Expand Down Expand Up @@ -28,4 +30,4 @@ spec:
- datasets~=2.10.1
- scikit-learn~=1.0.2
url: ''
version: 0.2.0
version: 0.3.0
41 changes: 17 additions & 24 deletions hugging_face_serving/function.yaml

Large diffs are not rendered by default.

5 changes: 4 additions & 1 deletion hugging_face_serving/item.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
apiVersion: v1
categories:
- huggingface
- genai
- model-serving
- machine-learning
description: Generic Hugging Face model server.
Expand All @@ -26,4 +28,5 @@ spec:
- transformers==4.21.3
- tensorflow==2.9.2
url: ''
version: 1.0.0
version: 1.1.0
test_valid: false
116 changes: 47 additions & 69 deletions huggingface_auto_trainer/function.yaml

Large diffs are not rendered by default.

4 changes: 3 additions & 1 deletion huggingface_auto_trainer/item.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
apiVersion: v1
categories:
- huggingface
- genai
- machine-learning
- model-training
description: fine-tune llm model with ease
Expand All @@ -22,4 +24,4 @@ spec:
kind: job
requirements: []
url: ''
version: 1.0.0
version: 1.1.0
3 changes: 2 additions & 1 deletion pii_recognizer/function.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,14 @@ kind: job
metadata:
name: pii-recognizer
tag: ''
hash: b09b7b9a4ffd55088d665a0191055411e9198a2f
hash: 818930645d33704e9cada919769ee9d93cbb9434
project: ''
labels:
author: pgw
categories:
- machine-learning
- data-preparation
- NLP
spec:
command: ''
args: []
Expand Down
3 changes: 2 additions & 1 deletion pii_recognizer/item.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ apiVersion: v1
categories:
- machine-learning
- data-preparation
- NLP
description: This function is used to recognize PII in a directory of text files
doc: ''
example: pii_recognizer.ipynb
Expand Down Expand Up @@ -30,5 +31,5 @@ spec:
- st-annotated-text
- https://huggingface.co/beki/en_spacy_pii_distilbert/resolve/main/en_spacy_pii_distilbert-any-py3-none-any.whl
url: ''
version: 0.2.0
version: 0.3.0
test_valid: False
6 changes: 3 additions & 3 deletions pyannote_audio/function.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@ kind: job
metadata:
name: pyannote-audio
tag: ''
hash: c45be8d7f51f0b2203155b08c307814a2cb0ac78
hash: aed670a0534ebf30690dd2af7acad35595c7d5b1
project: ''
labels:
author: guyl
categories:
- deep-learning
- Huggingface
- Audio
- huggingface
- audio
spec:
command: ''
args: []
Expand Down
6 changes: 3 additions & 3 deletions pyannote_audio/item.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
apiVersion: v1
categories:
- deep-learning
- Huggingface
- Audio
- huggingface
- audio
description: pyannote's speech diarization of audio files
doc: ''
example: pyannote_audio.ipynb
Expand All @@ -27,4 +27,4 @@ spec:
- torchaudio
- tqdm
url: ''
version: 1.1.0
version: 1.2.0
4 changes: 3 additions & 1 deletion question_answering/function.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,13 @@ kind: job
metadata:
name: question-answering
tag: ''
hash: 90e67d116b256a98da7d5819724e43df01d8b4eb
hash: aed62db95f17576c69b457767e3595c2de1d5465
project: ''
labels:
author: yonish
categories:
- genai
- huggingface
- machine-learning
spec:
command: ''
Expand Down
4 changes: 3 additions & 1 deletion question_answering/item.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
apiVersion: v1
categories:
- genai
- huggingface
- machine-learning
description: GenAI approach of question answering on a given data
doc: ''
Expand All @@ -24,4 +26,4 @@ spec:
- torch
- tqdm
url: ''
version: 0.3.1
version: 0.4.0
6 changes: 3 additions & 3 deletions silero_vad/function.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@ kind: job
metadata:
name: silero-vad
tag: ''
hash: 61b7a70c167b7819481fdabf9350fc6fa344d2f5
hash: 59336f808643a74f3a2c5d506977387010427208
project: ''
labels:
author: guyl
categories:
- deep-learning
- PyTorch
- Audio
- pytorch
- audio
spec:
command: ''
args: []
Expand Down
6 changes: 3 additions & 3 deletions silero_vad/item.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
apiVersion: v1
categories:
- deep-learning
- PyTorch
- Audio
- pytorch
- audio
description: Silero VAD (Voice Activity Detection) functions.
doc: ''
example: silero_vad.ipynb
Expand All @@ -27,4 +27,4 @@ spec:
- tqdm
- onnxruntime
url: ''
version: 1.2.0
version: 1.3.0
4 changes: 2 additions & 2 deletions structured_data_generator/function.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@ kind: job
metadata:
name: structured-data-generator
tag: ''
hash: ac969f46aae91804024ea736856267c26578864b
hash: 44bb39f4bc55b38fc7ead1df24cb02bcf7f05bc9
project: ''
labels:
author: zeevr
categories:
- machine-learning
- data-preparation
- data-generation
- GenAI
- genai
spec:
command: ''
args: []
Expand Down
4 changes: 2 additions & 2 deletions structured_data_generator/item.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ categories:
- machine-learning
- data-preparation
- data-generation
- GenAI
- genai
description: GenAI approach of generating structured data according to a given schema
doc: ''
example: structured_data_generator.ipynb
Expand All @@ -26,4 +26,4 @@ spec:
- langchain
- tqdm
url: ''
version: 1.4.0
version: 1.5.0
3 changes: 2 additions & 1 deletion text_to_audio_generator/function.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,14 @@ kind: job
metadata:
name: text-to-audio-generator
tag: ''
hash: 534e34d316098dcb345860a786ea013102150e67
hash: 89fcaf3fab53e7b7fbba448a5e65c253d7fa66ed
project: ''
labels:
author: yonatans
categories:
- data-preparation
- machine-learning
- pytorch
spec:
command: ''
args: []
Expand Down
3 changes: 2 additions & 1 deletion text_to_audio_generator/item.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ apiVersion: v1
categories:
- data-preparation
- machine-learning
- pytorch
description: Generate audio file from text using different speakers
doc: ''
example: text_to_audio_generator.ipynb
Expand All @@ -24,5 +25,5 @@ spec:
- bark
- torchaudio
url: ''
version: 1.1.0
version: 1.2.0
test_valid: True
5 changes: 4 additions & 1 deletion transcribe/function.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,14 @@ kind: job
metadata:
name: transcribe
tag: ''
hash: 5cd620de67a936ee8a87cfc1f0b97e19730d0a69
hash: 8810ac74045bd15cee15a2e4e89563e8e29908d3
project: ''
labels:
author: yonatans
categories:
- data-preparation
- genai
- huggingface
- machine-learning
spec:
command: ''
Expand All @@ -24,6 +26,7 @@ spec:
- tqdm
- torchaudio
- torch
- accelerate
entry_points:
do_task:
name: do_task
Expand Down
4 changes: 3 additions & 1 deletion transcribe/item.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
apiVersion: v1
categories:
- data-preparation
- genai
- huggingface
- machine-learning
description: Transcribe audio files into text files
doc: ''
Expand All @@ -27,4 +29,4 @@ spec:
- torch
- accelerate
url: ''
version: 1.0.0
version: 1.1.0
Loading