Code Monkey home page Code Monkey logo

spacy-feedstock's Introduction

spacy-feedstock

This repository is one of several that comprise the broader Open-CE project. Each feedstock repository provides a conda-based build framework for a specified package within Open-CE.

These feedstock repositories do not contain the source code for the corresponding packages themselves. Instead, they contain the automated means to build the desired package from the officially designated source location.

The Open-CE project has a separate central controlling repository which coordinates the overall build, dependencies, and documentation requirements of the project. The central repository is named for the project itself, open-ce.

For more information about the project, and for instruction on how to build this and other feedstock packages, please refer to the Open-CE README.md file in the central repository. This should be your reference starting point before turning to the feedstock repositories themselves.

spacy-feedstock's People

Contributors

archanashinde1 avatar bethune-bryant avatar bnemanich avatar cdeepali avatar dncliss avatar ritumd avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

spacy-feedstock's Issues

test_issue6177 fails on RH8 x86

=================================== FAILURES ===================================
________________________________ test_issue6177 ________________________________

    def test_issue6177():
        """Test that after fixing the random seed, the results of the pipeline are truly identical"""

        # NOTE: no need to transform this code to v3 when 'master' is merged into 'develop'.
        # A similar test exists already for v3: test_issue5551
        # This is just a backport
        results = []
        for i in range(3):
            fix_random_seed(0)
            nlp = English()
            example = (
                "Once hot, form ping-pong-ball-sized balls of the mixture, each weighing roughly 25 g.",
                {"cats": {"Labe1": 1.0, "Label2": 0.0, "Label3": 0.0}},
            )
            textcat = nlp.create_pipe("textcat")
            nlp.add_pipe(textcat)
            for label in set(example[1]["cats"]):
                textcat.add_label(label)
            # Train
            optimizer = nlp.begin_training()
            text, annots = example
            nlp.update([text], [annots], sgd=optimizer)
            # Store the result of each iteration
            result = textcat.model.predict([nlp.make_doc(text)])
            results.append(list(result[0]))

        # All results should be the same because of the fixed seed
        assert len(results) == 3
>       assert results[0] == results[1]
E       assert [0.61350006, ...3, 0.26669824] == [0.6134999, 0...3, 0.26669833]
E         At index 0 diff: 0.61350006 != 0.6134999
E         Use -v to get the full diff

../_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehol/lib/python3.6/site-packages/spacy/tests/regression/test_issue6177.py:36: AssertionError

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.