<commit_before>#pragma once

#include <limits>
#include "gpu/defs.h"

namespace marian {
  namespace functional {

    template <class C>
    using IsClass = typename std::enable_if<std::is_class<C>::value, C>::type;

    template <int N>
    struct Select {
      template <typename T, typename ...Args>
      __HDI__ static auto apply(T&& arg, Args&&... args) -> decltype(Select<N-1>::apply(args...)) {
        return Select<N-1>::apply(args...);
      }
    };

    template <>
    struct Select<0> {
      template <typename T, typename ...Args>
      __HDI__ static T apply(T&& arg, Args&&... args) {<commit_msg>Missing include for <string> in file using std::to_string<commit_after>#pragma once

#include <limits>
#include <string>
#include "gpu/defs.h"

namespace marian {
  namespace functional {

    template <class C>
    using IsClass = typename std::enable_if<std::is_class<C>::value, C>::type;

    template <int N>
    struct Select {
      template <typename T, typename ...Args>
      __HDI__ static auto apply(T&& arg, Args&&... args) -> decltype(Select<N-1>::apply(args...)) {
        return Select<N-1>::apply(args...);
      }
    };

    template <>
    struct Select<0> {
      template <typename T, typename ...Args>
      __HDI__ static T apply(T&& arg, Args&&... args) {
{'fraction_non_alphanumeric': 0.16126543209876543, 'fraction_numerical': 0.004629629629629629, 'mean_word_length': 2.9542682926829267, 'pattern_counts': {'":': 0, '<': 27, '<?xml version=': 0, '>': 29, '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': '4007197', 'n_tokens_mistral': 424, 'n_tokens_neox': 413, 'n_words': 115}