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: doc/developer_guide/developer_guide.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -118,7 +118,7 @@ Users should implement the following methods in the UDF class
118
118
that extends the `BaseModel UDF`:
119
119
-`extract_unique_param_based_dataframes` : Even if the data in a given
120
120
dataframe all have the same model, there might be differences within the given
121
-
dataframe with different model parameters (e.g. _top_k_ parameter in [FillingMaskUDF](../../exasol_transformers_extension/udfs/models/filling_mask_udf.py)).
121
+
dataframe with different model parameters (e.g. _top_k_ parameter in [AIFillMaskExtendedUDF](../../exasol_transformers_extension/udfs/models/ai_fill_mask_extended_udf.py)).
122
122
This method is responsible for extracting unique dataframes which share both the
123
123
same model and model parameters.
124
124
-`execute_prediction` : Performs prediction on a given text list using
This UDF takes two input sequences and compares them. Among other things, it can be used to determine if two sequences are paraphrases of each other.
60
+
This UDF takes two input texts and compares them. Among other things, it can be used to determine if two texts are paraphrases of each other.
60
61
61
62
Example usage:
62
63
63
64
```sql
64
-
SELECTTE_SEQUENCE_CLASSIFICATION_TEXT_PAIR_UDF(
65
+
SELECTAI_ENTAILMENT_EXTENDED(
65
66
device_id,
66
67
bucketfs_conn,
67
68
sub_dir,
@@ -144,12 +145,16 @@ Example:
144
145
145
146
### Masked Language Modelling UDF
146
147
147
-
This UDF is responsible for masking tokens in a given text with a masking token, and then filling that masks with appropriate tokens. The masking token of this UDF is ```<mask>```.
148
+
This UDF needs to be given an input text containing the ```<mask>``` token. It can then
149
+
replace these masks with appropriate tokens.
150
+
I.E the input text could be "<mask> is the best database Software for Machine
151
+
Learning Enthusiasts.", resulting in an output like "Exasol is the best database
Copy file name to clipboardExpand all lines: doc/user_guide/user_guide.md
+3-2Lines changed: 3 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,8 +8,9 @@ The extension provides two types of UDFs:
8
8
9
9
* Utility UDFs: UDFs which deal with installation and deletion of pretrained Transformers models in the Exasol BucketFS.
10
10
* Prediction UDFs: These are a group of UDFs for each supported task. Each of them uses the downloaded pre-trained model and performs prediction. These are the supported tasks:
0 commit comments