Coder Social home page Coder Social logo

cs224n's People

Contributors

sunoonlee avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

cs224n's Issues

assignment 1 dataset 下载问题及解决

目的:下载 assignment 1 的 dataset 文件。

问题:按作业要求运行 sh get_datasets.sh,获得提示:

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
Archive:  stanfordSentimentTreebank.zip
  End-of-central-directory signature not found.  Either this file is not
  a zipfile, or it constitutes one disk of a multi-part archive.  In the
  latter case the central directory and zipfile comment will be found on
  the last disk(s) of this archive.
unzip:  cannot find zipfile directory in one of stanfordSentimentTreebank.zip or
        stanfordSentimentTreebank.zip.zip, and cannot find stanfordSentimentTreebank.zip.ZIP, period.
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  5114    0  5114    0     0    954      0 --:--:--  0:00:05 --:--:--  1233
Archive:  glove.6B.50d.txt.zip
  End-of-central-directory signature not found.  Either this file is not
  a zipfile, or it constitutes one disk of a multi-part archive.  In the
  latter case the central directory and zipfile comment will be found on
  the last disk(s) of this archive.
unzip:  cannot find zipfile directory in one of glove.6B.50d.txt.zip or
        glove.6B.50d.txt.zip.zip, and cannot find glove.6B.50d.txt.zip.ZIP, period.

尝试:

  • google:
    • 搜 cs224n get_dataset 等关键词,没搜到类似的问题
    • 搜出错信息里的 End-of-central-directory signature not found,有类似问题,估计是压缩文件下载有问题,文件不完整无法解压

解决:

  • 打开 get_datasets.sh 源文件,可看到需要下载的两个文件的 url
    • 其中第一个可以直接下载,第二个链接失效 (glove.6B.50d.txt.zip)
    • 搜到 glove 的网站 https://nlp.stanford.edu/projects/glove/ ,上面有 glove.6B.zip 可供下载
    • 下载完成,里面包含 glove.6B.50d.txt

update:
不知道是不是 sh 文件更新过. 最新版 这个 sh 文件里第二个 url 是 http://nlp.stanford.edu/data/glove.6B.zip , 可以顺利下载. 感谢 @linbojin 指出

一起来学 cs224n

  • 各自建立 cs224n github 学习仓库,可以互相 watch 仓库
  • 以输出为导向的学习:学习笔记,动手练习,作业。用 commit 信息在同侪的 github 时间线上创造压力。
    • notes: 每学完一个 lecture,输出笔记,长短随意
    • exercises: 在作业之外,为自己创造小的练习机会
    • assignments: cs224n 有四次作业
  • 大致节奏为每周两个 lecture,跟课程安排(http://web.stanford.edu/class/cs224n/syllabus.html )一致。比这快些或慢些都 ok。
  • 有需要讨论的问题,在自己仓库里发 issue

学友仓库:

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.