<commit_before>#include <algorithm>
#include <vector>

#include "caffe/layers/mapping_layer.hpp"
#include "caffe/util/math_functions.hpp"

namespace caffe {

template <typename Dtype>
void MappingLayer<Dtype>::LayerSetUp(const vector<Blob<Dtype>*>& bottom,
      const vector<Blob<Dtype>*>& top) {
  MappingParameter param = this->layer_param_.mapping_param();
  // learn = param.learn();
  // kernel= param.kernel();
  // Not implemented yet
  if (param.has_lr()){
    lr = Dtype(param.lr());
  } else {
    lr = Dtype(param.lr(1e-15))
  }

  if (this->blobs_.size() > 0) {
    LOG(INFO) << "Skipping parameter initialization";
  } else {
    this->blobs_.resize(12);
<commit_msg>correct mistakes<commit_after>#include <algorithm>
#include <vector>

#include "caffe/layers/mapping_layer.hpp"
#include "caffe/util/math_functions.hpp"

namespace caffe {

template <typename Dtype>
void MappingLayer<Dtype>::LayerSetUp(const vector<Blob<Dtype>*>& bottom,
      const vector<Blob<Dtype>*>& top) {
  MappingParameter param = this->layer_param_.mapping_param();
  // learn = param.learn();
  // kernel= param.kernel();
  // Not implemented yet
  if (param.has_lr()){
    lr = Dtype(param.lr());
  } else {
    lr = Dtype(1e-15);
  }

  if (this->blobs_.size() > 0) {
    LOG(INFO) << "Skipping parameter initialization";
  } else {
    this->blobs_.resize(12);

{'fraction_non_alphanumeric': 0.16666666666666666, 'fraction_numerical': 0.008849557522123894, 'mean_word_length': 4.159695817490494, 'pattern_counts': {'":': 0, '<': 23, '<?xml version=': 0, '>': 27, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5506487', 'n_tokens_mistral': 482, 'n_tokens_neox': 467, 'n_words': 93}