This is an automated email from the ASF dual-hosted git repository. cmeier pushed a commit to branch new-bert-example-with-finetuning in repository https://gitbox.apache.org/repos/asf/incubator-mxnet.git
commit 7de5a2669527dbd4ade0c4c939af41943c499c2d Author: gigasquid <cme...@gigasquidsoftware.com> AuthorDate: Fri Apr 26 10:08:32 2019 -0400 add license --- .gitignore | 6 ++++++ contrib/clojure-package/examples/bert/fine-tune-bert.md | 16 ++++++++++++++++ contrib/clojure-package/examples/bert/src/bert/util.clj | 17 +++++++++++++++++ 3 files changed, 39 insertions(+) diff --git a/.gitignore b/.gitignore index 705ef92..f3b3305 100644 --- a/.gitignore +++ b/.gitignore @@ -162,3 +162,9 @@ coverage.xml # Local CMake build config cmake_options.yml +contrib/clojure-package/examples/bert/.lein-failures +contrib/clojure-package/examples/bert/.lein-repl-history +contrib/clojure-package/examples/bert/.nrepl-port +contrib/clojure-package/examples/bert/target/classes/META-INF/maven/bert-qa/bert-qa/pom.properties +contrib/clojure-package/examples/bert/target/repl-port +contrib/clojure-package/examples/bert/target/stale/leiningen.core.classpath.extract-native-dependencies \ No newline at end of file diff --git a/contrib/clojure-package/examples/bert/fine-tune-bert.md b/contrib/clojure-package/examples/bert/fine-tune-bert.md index 1c71998..08cf290 100644 --- a/contrib/clojure-package/examples/bert/fine-tune-bert.md +++ b/contrib/clojure-package/examples/bert/fine-tune-bert.md @@ -1,3 +1,19 @@ +<!--- Licensed to the Apache Software Foundation (ASF) under one --> +<!--- or more contributor license agreements. See the NOTICE file --> +<!--- distributed with this work for additional information --> +<!--- regarding copyright ownership. The ASF licenses this file --> +<!--- to you under the Apache License, Version 2.0 (the --> +<!--- "License"); you may not use this file except in compliance --> +<!--- with the License. You may obtain a copy of the License at --> + +<!--- http://www.apache.org/licenses/LICENSE-2.0 --> + +<!--- Unless required by applicable law or agreed to in writing, --> +<!--- software distributed under the License is distributed on an --> +<!--- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY --> +<!--- KIND, either express or implied. See the License for the --> +<!--- specific language governing permissions and limitations --> +<!--- under the License. --> # Fine-tuning Sentence Pair Classification with BERT diff --git a/contrib/clojure-package/examples/bert/src/bert/util.clj b/contrib/clojure-package/examples/bert/src/bert/util.clj index 295b5a0..7c8e36f 100644 --- a/contrib/clojure-package/examples/bert/src/bert/util.clj +++ b/contrib/clojure-package/examples/bert/src/bert/util.clj @@ -1,3 +1,20 @@ +;; +;; Licensed to the Apache Software Foundation (ASF) under one or more +;; contributor license agreements. See the NOTICE file distributed with +;; this work for additional information regarding copyright ownership. +;; The ASF licenses this file to You under the Apache License, Version 2.0 +;; (the "License"); you may not use this file except in compliance with +;; the License. You may obtain a copy of the License at +;; +;; http://www.apache.org/licenses/LICENSE-2.0 +;; +;; Unless required by applicable law or agreed to in writing, software +;; distributed under the License is distributed on an "AS IS" BASIS, +;; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +;; See the License for the specific language governing permissions and +;; limitations under the License. +;; + (ns bert.util (:require [clojure.java.io :as io] [clojure.string :as string]