-
Notifications
You must be signed in to change notification settings - Fork 253
Update plagiarism_detection_es.ipynb #156
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
updated to latest eland version
| "# open ai detector model - developed by open ai https://github.com/openai/gpt-2-output-dataset/tree/master/detector\n", | ||
| "hf_model_id='roberta-base-openai-detector'\n", | ||
| "tm = TransformerModel(hf_model_id, \"text_classification\")\n", | ||
| "tm = TransformerModel(model_id=hf_model_id, task_type="text_classification")\n", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The quotes are not escaped here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
updated. thank you.
| "# sentence-transformers model\n", | ||
| "hf_model_id='sentence-transformers/all-mpnet-base-v2'\n", | ||
| "tm = TransformerModel(hf_model_id, \"text_embedding\")\n", | ||
| "tm = TransformerModel(model_id=hf_model_id, task_type="text_embedding")\n", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This one too, the quotes need to be escaped.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
updated. thank you.
quotes escaped
* Update plagiarism_detection_es.ipynb updated to latest eland version * update plagiarism_detection_es.ipynb quotes escaped
* Update plagiarism_detection_es.ipynb updated to latest eland version * update plagiarism_detection_es.ipynb quotes escaped
updated to latest eland version