ajbond
2ccf0d5a6a
Add Redfield NLP Nodes to the Spacy Universe ( #13133 )
2023-11-17 09:48:25 +01:00
Sofie Van Landeghem
252ad2adb8
Update llm docs to clarify task-specific factories ( #13082 )
...
* fix typo
* add examples to specify custom model for task-specific factory
2023-10-31 22:08:08 +01:00
Sofie Van Landeghem
fc5cd57869
Clarify EL example in docs ( #13071 )
...
* add comment that pipeline is a custom one
* add link to NEL tutorial
* prettier
* revert prettier reformat
* revert prettier reformat (2)
* fix typo
Co-authored-by: Raphael Mitsch <r.mitsch@outlook.com>
---------
Co-authored-by: Raphael Mitsch <r.mitsch@outlook.com>
2023-10-31 22:00:40 +01:00
Raphael Mitsch
0f9c3edf7f
Fix spancat typo. ( #13095 )
...
(cherry picked from commit 0c15876502
)
2023-10-31 13:45:49 +01:00
Raphael Mitsch
2492b0ec31
Add note in docs on score_weight
config if using a non-default spans_key
for SpanCat ( #13093 )
...
* Add note on score_weight if using a non-default span_key for SpanCat.
* Fix formatting.
* Fix formatting.
* Fix typo.
* Use warning infobox.
* Fix infobox formatting.
(cherry picked from commit 9deaac9786
)
2023-10-30 17:03:04 +01:00
Raphael Mitsch
8897621db9
Add binary examples for Textcat task in spacy-llm
( #13051 )
...
* Add examples for binary classification.
* Fix example.
* Remove binary textcat example. Format.
* Rephrase.
(cherry picked from commit d72029d9c8
)
2023-10-11 13:46:42 +02:00
Ines Montani
b627f952bb
Update usage sidebar and nav alert [ci skip]
2023-10-06 14:36:48 +02:00
Ines Montani
5874ec5521
Inline displaCy visualizations in docs ( #13050 ) [ci skip]
2023-10-06 14:23:03 +02:00
Raphael Mitsch
5e1d39822d
Add Mistral mentions. ( #13037 )
...
(cherry picked from commit 1162fcf099
)
2023-10-05 19:52:19 +02:00
Raphael Mitsch
08e9ca5a7d
Add docs on Azure OpenAI support in spacy-llm
( #13043 )
...
* Add gpt-3.5-turbo-instruct to list of supported OpenAI models.
* Update `spacy-llm` task argument docs w.r.t. task refactoring (#12995 )
* Update task arguments w.r.t. task refactoring in 0.5.0.
* Add disclaimer w.r.t. gated models/Llama 2.
* Update website/docs/api/large-language-models.mdx
* Update website/docs/api/large-language-models.mdx
* Update docs w.r.t. PaLM support. (#13018 )
* Add info on spacy.Azure.v1.
* Attempt to fix netlify check fails.
* Attempt to fix netlify check fails.
* Attempt to fix netlify check fails.
* Attempt to fix netlify check fails.
* Attempt to fix netlify check fails.
* Attempt to fix netlify check fails.
* Attempt to fix netlify check fails.
* Attempt to fix netlify check fails.
* Attempt to fix netlify check fails.
* Format.
(cherry picked from commit 862f8254e8
)
2023-10-05 19:52:15 +02:00
Raphael Mitsch
6f8804f1b8
Update docs w.r.t. PaLM support. ( #13018 )
...
(cherry picked from commit 1dec138e61
)
2023-10-05 19:52:09 +02:00
Adriane Boyd
51751f93f4
Update binder version to v3.7 ( #13034 )
2023-10-02 12:54:09 +02:00
Adriane Boyd
7ee846b992
Merge branch 'master' into spacy.io
2023-10-02 10:43:52 +02:00
Adriane Boyd
160e61772e
Docs for v3.7.0 ( #13029 )
...
* Docs for v3.7.0
* Minor fixes
* Extend Weasel notes
* Minor edits
* Update version in README
2023-10-01 21:40:07 +02:00
Adriane Boyd
0fed2d9e28
Merge pull request #12899 from adrianeboyd/chore/v3.7.0
...
Reenable model tests for v3.7.0
2023-10-01 21:38:17 +02:00
Adriane Boyd
1b043dde3f
Revert "disable tests until 3.7 models are available"
...
This reverts commit 991bcc111e
.
2023-10-01 18:48:31 +02:00
Sergiu Nisioi
a1725fe2b3
Adding rolegal model to the spaCy universe ( #13017 )
...
* adding rolegal model to the spaCy universe
* Fix formatting
* Use raw URL
* update image url and example
* fix pip and update url to raw
* okay, let's add thumb instead of image 🐙
* Update website/meta/universe.json
---------
Co-authored-by: Adriane Boyd <adrianeboyd@gmail.com>
2023-09-29 08:25:21 +02:00
Adriane Boyd
4ec41e98f6
Merge pull request #12979 from adrianeboyd/feature/cython-profile-312
...
Redesigned cython profiling and other minor updates for python 3.12
2023-09-29 08:23:38 +02:00
Matthew Hoffman
483d4a5bc0
Allow spacy-transformers v1.3.x in transformers extra ( #13025 )
...
Co-authored-by: Adriane Boyd <adrianeboyd@gmail.com>
2023-09-29 08:22:56 +02:00
Adriane Boyd
6b4f774418
Set version to v3.7.0 ( #13028 )
2023-09-28 21:27:42 +02:00
Adriane Boyd
78504c25a5
CI: Add python 3.12.0rc2
2023-09-28 17:12:42 +02:00
Adriane Boyd
467c82439e
Always use tqdm with disable=None
...
`tqdm` can cause deadlocks in the test suite if enabled.
2023-09-28 17:12:42 +02:00
Adriane Boyd
b4990395f9
Update mypy requirements
2023-09-28 17:12:42 +02:00
Adriane Boyd
76d94b31f2
Branch on python 3.12+ shutil.rmtree in make_tempdir
2023-09-28 17:09:41 +02:00
Adriane Boyd
1adf79414e
Set cython profiling default to True for <3.12, False for >=3.12
2023-09-28 17:09:41 +02:00
Adriane Boyd
538304948e
Remove profile=True from currently profiled cython
2023-09-28 17:09:41 +02:00
Adriane Boyd
55614d6799
Add profile=False to currently unprofiled cython
2023-09-28 17:09:41 +02:00
Adriane Boyd
36201cb6a1
Merge pull request #13027 from adrianeboyd/chore/update-develop-from-master-v3.7-1
...
Update develop from master for v3.7
2023-09-28 16:01:40 +02:00
Adriane Boyd
406794a081
Merge remote-tracking branch 'upstream/master' into chore/update-develop-from-master-v3.7-1
2023-09-28 15:09:06 +02:00
Daniël de Kok
beda27a91e
Load the cli module lazily for spacy.info ( #12962 )
...
* Load the cli module lazily for spacy.info
This avoids that the `spacy` module cannot be imported when the
users chooses not to install `typer`/`requests`.
* Add test
---------
Co-authored-by: Adriane Boyd <adrianeboyd@gmail.com>
2023-09-28 11:36:44 +02:00
Sergiu Nisioi
6255e38695
Adding rolegal model to the spaCy universe ( #13017 )
...
* adding rolegal model to the spaCy universe
* Fix formatting
* Use raw URL
* update image url and example
* fix pip and update url to raw
* okay, let's add thumb instead of image 🐙
* Update website/meta/universe.json
---------
Co-authored-by: Adriane Boyd <adrianeboyd@gmail.com>
2023-09-28 11:06:50 +02:00
Madeesh Kannan
d6bcb226f6
Update emoji library in rule-based matcher example ( #13014 )
2023-09-25 18:21:00 +02:00
Madeesh Kannan
b4501db6f8
Update emoji library in rule-based matcher example ( #13014 )
2023-09-25 18:20:30 +02:00
Adriane Boyd
ff4215f1c7
Drop support for python 3.6 ( #13009 )
...
* Drop support for python 3.6
* Update docs
2023-09-25 14:48:38 +02:00
Adriane Boyd
935a5455b6
Docs: add new tag for evaluate CLI --spans-keys ( #13013 )
2023-09-25 11:49:28 +02:00
Ikko Eltociear Ashimine
ed8c11e2aa
Fix typo in lemmatizer.py ( #13003 )
...
specfic -> specific
2023-09-25 11:44:35 +02:00
Eliana Vornov
4e3360ad12
add --spans-key option for CLI spancat evaluation ( #12981 )
...
* add span key option for CLI evaluation
* Rephrase CLI help to refer to Doc.spans instead of spancat
* Rephrase docs to refer to Doc.spans instead of spancat
---------
Co-authored-by: Adriane Boyd <adrianeboyd@gmail.com>
2023-09-25 11:25:41 +02:00
Sofie Van Landeghem
63f7df8a1c
Fix in BertTokenizer docs ( #12955 )
...
* fix BertWordPieceTokenizer constructor call
* fix
* Update website/docs/usage/linguistic-features.mdx
---------
Co-authored-by: Adriane Boyd <adrianeboyd@gmail.com>
2023-09-13 13:22:25 +02:00
Sofie Van Landeghem
8f0d6b0a8c
Fix in BertTokenizer docs ( #12955 )
...
* fix BertWordPieceTokenizer constructor call
* fix
* Update website/docs/usage/linguistic-features.mdx
---------
Co-authored-by: Adriane Boyd <adrianeboyd@gmail.com>
2023-09-13 13:21:58 +02:00
Adriane Boyd
36d4767aca
Skip project remotes test for python 3.12 ( #12980 )
...
`weasel` (using `cloudpathlib`) does not currently support remote paths
for python 3.12.
2023-09-13 13:16:05 +02:00
Sofie Van Landeghem
fb59288d1c
Few spacy-llm doc fixes ( #12969 )
...
* fix construction example
* shorten task-specific factory list
* small edits to HF models
* small edit to API models
* typo
* fix space
Co-authored-by: Raphael Mitsch <r.mitsch@outlook.com>
---------
Co-authored-by: Raphael Mitsch <r.mitsch@outlook.com>
2023-09-08 11:37:47 +02:00
Sofie Van Landeghem
013762be41
Few spacy-llm doc fixes ( #12969 )
...
* fix construction example
* shorten task-specific factory list
* small edits to HF models
* small edit to API models
* typo
* fix space
Co-authored-by: Raphael Mitsch <r.mitsch@outlook.com>
---------
Co-authored-by: Raphael Mitsch <r.mitsch@outlook.com>
2023-09-08 11:35:38 +02:00
Sofie Van Landeghem
5abb9d5791
Docs for spacy-llm 0.5.0 ( #12968 )
...
* Update incorrect example config. (#12893 )
* spacy-llm docs cleanup (#12945 )
* Shorten NER section
* fix template references
* simplify sections
* set temperature to 0.0 in examples
* condense model information
* fix parameters for REST models
* set temperature to 0.0
* spelling fix
* trigger preview
* fix quotes
* add small note on noop.v1
* move up example noop config
* set appropriate model example configs
* explain config
* fix
Co-authored-by: Raphael Mitsch <r.mitsch@outlook.com>
---------
Co-authored-by: Raphael Mitsch <r.mitsch@outlook.com>
* Docs for ner.v3 and spancat.v3 spacy-llm tasks (#12949 )
* formatting
* update usage table with NER.v3
* fix typo in links
* v3 overview of parameters
* add spancat.v3
* add further v3 explanations
* remove TODO comment
* few more small fixes
* Add doc section on LLM + task factories (#12905 )
* Add section on LLM + task factories.
* Apply suggestions from code review
---------
Co-authored-by: Sofie Van Landeghem <svlandeg@users.noreply.github.com>
* add default config to openai models (#12961 )
* Docs for spacy-llm 0.5.0 (#12967 )
* simplify Python example
* simplify Python example
* Refer only to latest OpenAI model versions from usage doc
* Typo fix
Co-authored-by: Raphael Mitsch <r.mitsch@outlook.com>
* clarify accuracy claim
---------
Co-authored-by: Raphael Mitsch <r.mitsch@outlook.com>
---------
Co-authored-by: Raphael Mitsch <r.mitsch@outlook.com>
2023-09-08 10:29:21 +02:00
Sofie Van Landeghem
def7013eec
Docs for spacy-llm 0.5.0 ( #12968 )
...
* Update incorrect example config. (#12893 )
* spacy-llm docs cleanup (#12945 )
* Shorten NER section
* fix template references
* simplify sections
* set temperature to 0.0 in examples
* condense model information
* fix parameters for REST models
* set temperature to 0.0
* spelling fix
* trigger preview
* fix quotes
* add small note on noop.v1
* move up example noop config
* set appropriate model example configs
* explain config
* fix
Co-authored-by: Raphael Mitsch <r.mitsch@outlook.com>
---------
Co-authored-by: Raphael Mitsch <r.mitsch@outlook.com>
* Docs for ner.v3 and spancat.v3 spacy-llm tasks (#12949 )
* formatting
* update usage table with NER.v3
* fix typo in links
* v3 overview of parameters
* add spancat.v3
* add further v3 explanations
* remove TODO comment
* few more small fixes
* Add doc section on LLM + task factories (#12905 )
* Add section on LLM + task factories.
* Apply suggestions from code review
---------
Co-authored-by: Sofie Van Landeghem <svlandeg@users.noreply.github.com>
* add default config to openai models (#12961 )
* Docs for spacy-llm 0.5.0 (#12967 )
* simplify Python example
* simplify Python example
* Refer only to latest OpenAI model versions from usage doc
* Typo fix
Co-authored-by: Raphael Mitsch <r.mitsch@outlook.com>
* clarify accuracy claim
---------
Co-authored-by: Raphael Mitsch <r.mitsch@outlook.com>
---------
Co-authored-by: Raphael Mitsch <r.mitsch@outlook.com>
2023-09-08 10:25:14 +02:00
Magdalena Aniol
1c0205967d
fix training.batch_size example ( #12963 )
2023-09-06 16:39:35 +02:00
Magdalena Aniol
cc78847688
fix training.batch_size example ( #12963 )
2023-09-06 16:38:13 +02:00
Sofie Van Landeghem
807f36eaa1
Fix LLM usage example ( #12950 )
...
* fix usage example
* revert back to v2 to allow hot fix on main
2023-09-05 08:56:00 +02:00
Sofie Van Landeghem
6d1f6d9a23
Fix LLM usage example ( #12950 )
...
* fix usage example
* revert back to v2 to allow hot fix on main
2023-09-04 09:05:50 +02:00
Sofie Van Landeghem
642a4de63f
fix typo in link ( #12948 )
...
* fix typo in link
* fix REL.v1 parameter
2023-09-01 13:49:03 +02:00
Sofie Van Landeghem
5c1f9264c2
fix typo in link ( #12948 )
...
* fix typo in link
* fix REL.v1 parameter
2023-09-01 13:47:20 +02:00