Commit Graph

3022 Commits

Author SHA1 Message Date
Marcus Blättermann
cc9ab9b0ec
Rephrase Docker part of README.md 2022-12-20 17:51:55 +01:00
Marcus Blättermann
af7b5351cc
Remove Gatsby from README.md 2022-12-20 17:51:54 +01:00
Marcus Blättermann
b4fc5a5c4c
Merge branch 'prepare-next' into migrate-to-next-web-17 2022-12-20 17:50:56 +01:00
Marcus Blättermann
6a1841a056
Disabled typescript during build 2022-12-20 17:46:33 +01:00
Marcus Blättermann
a5d573095f
Disabled ESLint during builds 2022-12-20 17:46:33 +01:00
Marcus Blättermann
978045b36b
Redirect index.mdx to parent directory 2022-12-20 17:46:33 +01:00
Marcus Blättermann
dcf8455f77
Extract logic 2022-12-20 17:46:33 +01:00
Marcus Blättermann
6fa2bf2fff
Allow to parse subfolders for pages 2022-12-20 17:46:33 +01:00
Marcus Blättermann
7c31de6c34
Refactoring 2022-12-20 17:46:33 +01:00
Marcus Blättermann
d625737451
Allow to handle directories for page creation 2022-12-20 17:46:33 +01:00
Marcus Blättermann
4151870c9f
Extract function
This will make the next commit easier to read
2022-12-20 17:46:33 +01:00
Marcus Blättermann
aea5496788
Add ability to load plugins 2022-12-20 17:46:32 +01:00
Marcus Blättermann
790e03f900
Add import for custom components 2022-12-20 17:46:32 +01:00
Marcus Blättermann
b861b1f6ce
Convert to module
This allows to use `import/export` syntax
2022-12-20 17:46:32 +01:00
Marcus Blättermann
863d0f0d44
Remove default pages and styling 2022-12-20 17:46:32 +01:00
Marcus Blättermann
52f07e5316
Add SASS support 2022-12-20 17:46:32 +01:00
Marcus Blättermann
a9a569bfc7
Add /public 2022-12-20 17:46:32 +01:00
Marcus Blättermann
a4ee13175d
Add experimental Rust MDX parser 2022-12-20 17:46:32 +01:00
Marcus Blättermann
08f9d90aa3
Add basic implementation for MDXRemote 2022-12-20 17:46:31 +01:00
Marcus Blättermann
32ac63ce4a
Make sure to use correct Node version 2022-12-20 17:46:31 +01:00
Marcus Blättermann
3690192dbd
Apply Prettier to all files 2022-12-20 17:46:31 +01:00
Marcus Blättermann
b473ff528a
Add prettier 2022-12-20 17:46:31 +01:00
Marcus Blättermann
abcb44e918
Disabled TypeScript strict mode for now 2022-12-20 17:46:31 +01:00
Marcus Blättermann
e48ae96847
Add VSCode extension recommendation 2022-12-20 17:46:31 +01:00
Marcus Blättermann
1ce4aacaab
Allow Next to handle .md and .mdx files. 2022-12-20 17:46:31 +01:00
Marcus Blättermann
a1da151f3e
Add MDX to Next 2022-12-20 17:46:30 +01:00
Marcus Blättermann
f00c4f7e19
Install MDX packages
Following: 77b5f79a4d/packages/next-mdx/readme.md
2022-12-20 17:46:30 +01:00
Marcus Blättermann
0bd9be16fa
Run npx create-next-app@13 next-blog 2022-12-20 17:46:30 +01:00
Marcus Blättermann
fba63f5f09
Minor website fixes (#11974) [ci skip] 2022-12-20 17:41:38 +01:00
Marcus Blättermann
de2e3747cc
Apply Prettier (#11996) 2022-12-19 16:18:19 +01:00
Marcus Blättermann
0d04341d32
Merge branch 'master' into update-migration-from-master 2022-12-15 00:11:32 +01:00
vincent d warmerdam
6d2ca1ab3a
Update custom solutions links (#11903)
* Update custom solutions

Will now point to https://explosion.ai/custom-solutions

* added-sidebar

* added-analysis-to-readme

* update-landing-page
2022-12-07 16:02:09 +01:00
Paul O'Leary McCann
73919336fb
Remove spacy-sentence-segmenter from Universe (#11932) 2022-12-07 15:56:03 +01:00
Paul O'Leary McCann
916191848a
Update scattertext example code (#11937)
* Update scattertext example code

* Remove PMI Filter Threshold
2022-12-07 18:09:04 +09:00
Sofie Van Landeghem
4b2097a271
fix links (#11927) 2022-12-05 16:29:13 +09:00
Marcus Blättermann
f50f1a4b6d
Lock current node version (#11885) 2022-12-02 15:59:15 +01:00
Zhangrp
9cf3fa9711
Add docs for biluo_to_iob and iob_to_biluo. (#11901)
* Add docs for biluo_to_iob and iob_to_biluo.

* Fix typos.

* Remove redundant links.
2022-12-01 13:30:27 +01:00
Damian Romero
afd7a2476d
Fix typo in vocab.md table (#11908)
* Fix typo in vocab.md table

Fixes explosion/spaCy/#11907

* Reformat vocab.md with Prettier
2022-12-01 13:06:28 +01:00
Adriane Boyd
1ebe7db07c
Support local filesystem remotes for projects (#11762)
* Support local filesystem remotes for projects

* Fix support for local filesystem remotes for projects
  * Use `FluidPath` instead of `Pathy` to support both filesystem and
    remote paths
  * Create missing parent directories if required for local filesystem
  * Add a more general `_file_exists` method to support both `Pathy`,
    `Path`, and `smart_open`-compatible URLs
* Add explicit `smart_open` dependency starting with support for
  `compression` flag
* Update `pathy` dependency to exclude older versions that aren't
  compatible with required `smart_open` version
* Update docs to refer to `Pathy` instead of `smart_open` for project
  remotes (technically you can still push to any `smart_open`-compatible
  path but you can't pull from them)
* Add tests for local filesystem remotes

* Update pathy for general BlobStat sorting

* Add import

* Remove _file_exists since only Pathy remotes are supported

* Format CLI docs

* Clean up merge
2022-11-29 11:40:58 +01:00
Marcus Blättermann
b6310d4ce9
Rename all MDX file to .mdx 2022-11-29 02:33:27 +01:00
Sofie Van Landeghem
96c9cf3448
Merge pull request #11855 from essenmitsosse/move-styleguide-out-of-readme
Move Styleguide out of Readme
2022-11-28 21:22:56 +01:00
Zhangrp
9f986af120
Add example sentence for Chinese in website meta (#11879) 2022-11-28 14:50:30 +09:00
Marcus Blättermann
5c9faf6eea
Update menu for styleguide
This reflects the removed parts from ecbf052abd
2022-11-27 03:48:05 +01:00
Marcus Blättermann
90141202c0
Merge branch 'move-styleguide-out-of-readme' into migrate-to-next-web-17 2022-11-27 03:48:03 +01:00
Marcus Blättermann
7f2ea20fee
Update README.md 2022-11-27 03:47:11 +01:00
Marcus Blättermann
c23d54fd26
Remove MDX tags from README.md 2022-11-27 03:47:11 +01:00
Raphael Mitsch
c0fd8a2e71
find-threshold: CLI command for multi-label classifier threshold tuning (#11280)
* Add foundation for find-threshold CLI functionality.

* Finish first draft for find-threshold.

* Add tests.

* Revert adjusted import statements.

* Fix mypy errors.

* Fix imports.

* Harmonize arguments with spacy evaluate command.

* Generalize component and threshold handling. Harmonize arguments with 'spacy evaluate' CLI.

* Fix Spancat test.

* Add beta parameter to Scorer and PRFScore.

* Make beta a component scorer setting.

* Remove beta.

* Update nlp.config (workaround).

* Reload pipeline on threshold change. Adjust tests. Remove confection reference.

* Remove assumption of component being a Pipe object or having a .cfg attribute.

* Adjust test output and reference values.

* Remove beta references. Delete universe.json.

* Reverting unnecessary changes. Removing unused default values. Renaming variables in find-cli tests.

* Update spacy/cli/find_threshold.py

Co-authored-by: Adriane Boyd <adrianeboyd@gmail.com>

* Remove adding labels in tests.

* Remove unused error

* Undo changes to PRFScorer

* Change default value for n_trials. Log table iteratively.

* Add warnings for pointless applications of find_threshold().

* Fix imports.

* Adjust type check of TextCategorizer to exclude subclasses.

* Change check of if there's only one unique value in scores.

* Update spacy/cli/find_threshold.py

Co-authored-by: Sofie Van Landeghem <svlandeg@users.noreply.github.com>

* Incorporate feedback.

* Fix test issue. Update docstring.

* Update docs & docstring.

* Update spacy/tests/test_cli.py

Co-authored-by: Adriane Boyd <adrianeboyd@gmail.com>

* Add examples to docs. Rename _nlp to nlp in tests.

* Update spacy/cli/find_threshold.py

Co-authored-by: Sofie Van Landeghem <svlandeg@users.noreply.github.com>

* Update spacy/cli/find_threshold.py

Co-authored-by: Sofie Van Landeghem <svlandeg@users.noreply.github.com>

Co-authored-by: Adriane Boyd <adrianeboyd@gmail.com>
Co-authored-by: Sofie Van Landeghem <svlandeg@users.noreply.github.com>
2022-11-25 11:44:55 +01:00
kadarakos
dece775279
correct ndim in docs (#11869) 2022-11-25 11:31:28 +01:00
Madeesh Kannan
5ea14af32b
Add training.before_update callback (#11739)
* Add `training.before_update` callback

This callback can be used to implement training paradigms like gradual (un)freezing of components (e.g: the Transformer) after a certain number of training steps to mitigate catastrophic forgetting during fine-tuning.

* Fix type annotation, default config value

* Generalize arguments passed to the callback

* Update schema

* Pass `epoch` to callback, rename `current_step` to `step`

* Add test

* Simplify test

* Replace config string with `spacy.blank`

* Apply suggestions from code review

Co-authored-by: Adriane Boyd <adrianeboyd@gmail.com>

* Cleanup imports

Co-authored-by: Adriane Boyd <adrianeboyd@gmail.com>
2022-11-23 17:54:58 +01:00
Paul O'Leary McCann
8271cfb4cd
Remove Learning Path spaCy (#11846) 2022-11-23 11:03:18 +01:00