Package

org.clulab

dynet

Permalink

package dynet

Visibility
  1. Public
  2. All

Type Members

  1. case class AnnotatedSentence(words: IndexedSeq[String], posTags: Option[IndexedSeq[String]] = None, neTags: Option[IndexedSeq[String]] = None, headPositions: Option[IndexedSeq[Int]] = None) extends Product with Serializable

    Permalink
  2. class CoNLLSRLToMetal extends AnyRef

    Permalink

    Reads a CoNLL-2008 formatted file (containing semantic roles) and converts it to our own Metal format User: mihais Date: 5/5/15 Last Modified: 08/05/2020: Added the latest Metal format Update for Scala 2.12: bug #10151 workaround.

  3. case class ConstEmbeddingParameters(collection: ParameterCollection, lookupParameters: LookupParameter, w2i: Map[String, Int]) extends Product with Serializable

    Permalink

    Stores lookup parameters + the map from strings to ids

  4. class ConstEmbeddingsGlove extends AnyRef

    Permalink
  5. class EmbeddingLayer extends InitialLayer

    Permalink

    This layer takes a sequence of words and produces a sequence of Expression that stores the words' full embeddings

  6. trait FinalLayer extends Saveable

    Permalink
  7. abstract class ForwardLayer extends FinalLayer

    Permalink
  8. class GreedyForwardLayer extends ForwardLayer

    Permalink
  9. trait InitialLayer extends Saveable

    Permalink

    First layer that occurs in a sequence modeling architecture: goes from words to Expressions

  10. trait IntermediateLayer extends Saveable

    Permalink

    Intermediate layer in a sequence modeling architecture: goes from ExpressionVector to ExpressionVector

  11. class Layers extends Saveable

    Permalink

    A sequence of layers that implements a complete NN architecture for sequence modeling

  12. class Metal extends AnyRef

    Permalink

    Multi-task learning (MeTaL) for sequence modeling Designed to model any sequence task (e.g., POS tagging, NER), and SRL

  13. class MetalRowReader extends RowReader

    Permalink
  14. class MetalShell extends Shell

    Permalink
  15. class RnnLayer extends IntermediateLayer

    Permalink

    This layer applies a biLSTM over the sequence of Expressions produced by a previous layer

  16. trait RowReader extends AnyRef

    Permalink
  17. class SafeTrainer extends AnyRef

    Permalink
  18. trait Saveable extends AnyRef

    Permalink
  19. case class ScoreCounts(correct: Int = 0, gold: Int = 0, predicted: Int = 0) extends Product with Serializable

    Permalink
  20. class ScoreCountsByLabel extends AnyRef

    Permalink
  21. class SentenceIterator extends Iterator[(Int, Array[Row])]

    Permalink
  22. case class Shard(taskId: Int, startPosition: Int, endPosition: Int) extends Product with Serializable

    Permalink
  23. class Task extends AnyRef

    Permalink
  24. class TaskManager extends Configured

    Permalink

    Manages the tasks in LstmCrfMtl

  25. class Utils extends AnyRef

    Permalink
  26. class ViterbiForwardLayer extends ForwardLayer

    Permalink

Value Members

  1. object ArrayMath

    Permalink

    Some really basic vector math that happens outside of DyNet

  2. object CnnExample extends App

    Permalink
  3. object CoNLLSRLToMetal

    Permalink
  4. object CoNLLUToMetal

    Permalink

    Converts the standard CoNLLU syntactic dependency format to Metal

  5. object CoNLLYToMetal

    Permalink

    Converts Robert's CoNLLY format (for syntactic dependencies, from his LREC 2020 paper) to Metal

  6. object ConstEmbeddingsGlove

    Permalink

    Implements the ConstEmbeddings as a thin wrapper around WordEmbeddingMap with additional functionality to produce embeddings as DyNet Expressions

  7. object EmbeddingLayer

    Permalink
  8. object ForwardLayer

    Permalink
  9. object GreedyForwardLayer

    Permalink
  10. object Layers

    Permalink
  11. object Metal

    Permalink
  12. object MetalRowReader

    Permalink
  13. object ModelAveraging extends App

    Permalink

    Averages the parameter weights from multiple DyNet model files

  14. object ModelDiff extends App

    Permalink

    Diffs 2 DyNet models Necessary to

  15. object RnnLayer

    Permalink
  16. object SafeTrainer

    Permalink
  17. object SeqScorer

    Permalink

    Scores the labels assigned to a sequence of words Unlike the CoNLL-2003 scorer, this scorer operates over individual tokens rather than entity spans

  18. object TaskManager

    Permalink
  19. object Utils

    Permalink

    Utility methods used by DyNet applications

  20. object ViterbiForwardLayer

    Permalink

Ungrouped