clab / clab/dynet

Batched tagger example

Open
#1,039 1 comment 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
C++
Stars
3.4k
Forks
701
PR merge metrics
No merged PRs in 30d

Description

This is for CoNLL-2003 datasets for NER tasks. Tagger example is taken from here:
(https://github.com/clab/dynet/tree/master/examples/tagger)

Speed of BiLSTM tagger example on CPU: 6.033s
Speed of BiLSTM tagger example on GPU: 37.4s (for GPU I used the dynet-gpu option)

Also the nvprof profiler is getting killed after 1 optimization step.

Can you please suggest the correct way of using GPU in dynet ?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the DyNet tagger example from examples/tagger with the dynet-gpu option on the reported CoNLL-2003 workload. Compare the CPU and GPU timings and check the nvprof behavior after one optimization step; the issue is complete only when the correct GPU usage and profiler failure are explained.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
machine-learning, performance
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
15/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.