Skip to content
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

docs: Added missing cosine declaration #3

Merged
merged 1 commit into from
Jan 25, 2015

Conversation

mrshu
Copy link
Contributor

@mrshu mrshu commented Jan 25, 2015

  • Added missing cosine declaration to code listing that already included
    imports for dot and norm function it uses.

Signed-off-by: mr.Shu [email protected]


@honnibal Thanks a ton for a great library!

While reading the index document I kind of skipped the previous declarations of cosine. It seemed strange not to find them here since the imports were already in place.

* Added missing cosine declaration to code listing that already included
  imports for `dot` and `norm` function it uses.

Signed-off-by: mr.Shu <[email protected]>
@honnibal
Copy link
Member

Thanks!

@honnibal honnibal closed this Jan 25, 2015
@mrshu
Copy link
Contributor Author

mrshu commented Jan 25, 2015

@honnibal may I ask why did you just close this and the other pull request? Especially with this one I thought you'd be inclined to merge it in. Is there something wrong with it?

@honnibal
Copy link
Member

Argh. I was supposed to merge. I thought I'd merged it, and then I also
needed to close it.

On Mon, Jan 26, 2015 at 4:25 AM, Marek Šuppa [email protected]
wrote:

@honnibal https:/honnibal may I ask why did you just close
this and the other pull request? Especially with this one I thought you'd
be inclined to merge it in. Is there something wrong with it?


Reply to this email directly or view it on GitHub
#3 (comment).

@honnibal honnibal reopened this Jan 25, 2015
honnibal added a commit that referenced this pull request Jan 25, 2015
docs: Added missing cosine declaration
@honnibal honnibal merged commit 5ef7485 into explosion:master Jan 25, 2015
shadeMe added a commit to shadeMe/spaCy that referenced this pull request Jan 20, 2023
* Add `TrainablePipe.{distill,get_teacher_student_loss}`

This change adds two methods:

- `TrainablePipe::distill` which performs a training step of a
  student pipe on a teacher pipe, giving a batch of `Doc`s.
- `TrainablePipe::get_teacher_student_loss` computes the loss
  of a student relative to the teacher.

The `distill` or `get_teacher_student_loss` methods are also implemented
in the tagger, edit tree lemmatizer, and parser pipes, to enable
distillation in those pipes and as an example for other pipes.

* Link to the `distill` method from the processing pipelines doc

* Apply suggestions from code review

Co-authored-by: Madeesh Kannan <[email protected]>

* Fix type annotations and docstrings

* Doc fix

* Tagger.rehearse: check if sgd is not None

* Remove unneeded checks

* Apply suggestions from code review

Co-authored-by: Madeesh Kannan <[email protected]>

* Doc fixes

Co-authored-by: Madeesh Kannan <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants